JMDict class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
isEmpty
→ bool
-
Returns true if
Store
has not been initialized or is empty
no setter
-
isNotEmpty
→ bool
-
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close()
→ void
-
Closes the
Store
-
initFromAsset({required String assetPath, bool forceUpdate = false})
→ Future<void>
-
Load pre-existing JMdict.gz file from existing Flutter
assetPath
-
initFromFile({required File xmlFile, bool forceUpdate = false})
→ Future<void>
-
Load using JMdict XML file
-
initFromNetwork({Uri? archiveUri, bool forceUpdate = false, int? timeout})
→ Future<void>
-
Load from downloaded JMdict.gz file
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
removeCachedFiles()
→ void
-
Call this manually to remove any lingering JMdict or JMdict.gz files inside
the device's temporary directory
-
search({required String keyword, int? limit, int? offset})
→ List<JMDictEntry>?
-
Search the local database for JMDictEntrys that contain
keyword
in
kana reading, romaji reading, or the glossaries, and also include Kanji
search
-
toString()
→ String
-
A string representation of this object.
inherited
-
update({Uri? archiveUri, int? timeout})
→ Future<bool>
-
Updates current database by downloading a new JMdict.gz file.
Defaults to downloading JMdict.gz file from http://ftp.edrdg.org/pub/Nihongo/JMdict.gz