1
0
mirror of https://github.com/h7x4/unofficial_jisho_api_dart.git synced 2025-06-22 06:23:34 +02:00
Files
h7x4 a84cfe5c02 Update to 3.0.0
- Add fromJson factories for all objects
- Make some properties use getters, to reduce redundant data
- Make all objects comparable with the equatable package
- Make all objects immutable with a constant constructor
    as a result of making them comparable
2022-05-08 02:06:45 +02:00

9 lines
243 B
Dart

import 'dart:convert';
import 'package:unofficial_jisho_api/api.dart' as jisho;
final JsonEncoder encoder = JsonEncoder.withIndent(' ');
void main() {
jisho.searchForPhrase('').then((result) {
print(encoder.convert(result));
});
}