Fix formatting
This commit is contained in:
parent
7f578f8d97
commit
de9c0c80d6
|
@ -1,3 +1,7 @@
|
|||
## 2.0.2
|
||||
|
||||
- Fixed formatting
|
||||
|
||||
## 2.0.1
|
||||
|
||||
- Fixed the readme
|
||||
|
|
|
@ -231,6 +231,7 @@ class ExampleResultData {
|
|||
};
|
||||
}
|
||||
}
|
||||
|
||||
/// The main wrapper containing data about the query and whether or not it was successful.
|
||||
class ExampleResults {
|
||||
/// The term that you searched for.
|
||||
|
@ -416,7 +417,7 @@ class PhrasePageScrapeResultData {
|
|||
/// Tags associated with this search result.
|
||||
List<KanjiKanaPair> otherForms;
|
||||
|
||||
/// Pronounciation of the search result.
|
||||
/// Pronounciation of the search result.
|
||||
List<AudioFile> audio;
|
||||
|
||||
/// Notes associated with the search result.
|
||||
|
@ -710,7 +711,7 @@ class JishoResult {
|
|||
};
|
||||
}
|
||||
|
||||
/// Metadata with result status.
|
||||
/// Metadata with result status.
|
||||
class JishoResultMeta {
|
||||
/// HTTP status code.
|
||||
int status;
|
||||
|
|
|
@ -3,7 +3,7 @@ String removeNewlines(String str) {
|
|||
return str.replaceAll(RegExp(r'(?:\r|\n)'), '').trim();
|
||||
}
|
||||
|
||||
/// Remove alltext between two positions, and remove all newlines
|
||||
/// Remove all text between two positions, and remove all newlines
|
||||
String getStringBetweenIndicies(String data, int startIndex, int endIndex) {
|
||||
final result = data.substring(startIndex, endIndex);
|
||||
return removeNewlines(result).trim();
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: unofficial_jisho_api
|
||||
version: 2.0.1
|
||||
version: 2.0.2
|
||||
|
||||
description: An unofficial api for searching and scraping the japanese dictionary Jisho.org
|
||||
homepage: https://github.com/h7x4ABk3g/unofficial_jisho_api_dart/
|
||||
|
|
Loading…
Reference in New Issue