mirror of
https://github.com/h7x4/unofficial_jisho_api_dart.git
synced 2025-07-07 21:12:47 +02:00
10 lines
296 B
Dart
10 lines
296 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) {
|
|
// jisho.searchForPhrase('する').then((result) {
|
|
print(encoder.convert(result));
|
|
});
|
|
} |