unofficial_jisho_api_dart/example/phrase_search_example.dart

9 lines
243 B
Dart

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