1
0
mirror of https://github.com/h7x4/unofficial_jisho_api_dart.git synced 2025-09-21 04:55:56 +02:00

Rewrite some code by effective dart

This commit is contained in:
2020-06-26 01:59:23 +02:00
parent d6509e6392
commit 093ae02c56
16 changed files with 187 additions and 185 deletions

View File

@@ -3,5 +3,5 @@ import './baseURI.dart';
/// Provides the URI for a phrase search
String uriForPhraseSearch(String phrase) {
return '${JISHO_API}?keyword=${Uri.encodeComponent(phrase)}';
return '$JISHO_API?keyword=${Uri.encodeComponent(phrase)}';
}