JishoWordSense class
One sense of the word.
Constructors
-
JishoWordSense({required List<
String> englishDefinitions, required List<String> partsOfSpeech, List<JishoSenseLink> links = const [], List<String> tags = const [], List<String> seeAlso = const [], List<String> antonyms = const [], List<JishoWordSource> source = const [], List<String> info = const [], List<String> restrictions = const []}) -
const
-
JishoWordSense.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
antonyms
→ List<
String> -
Words with opposite meaning.
final
-
englishDefinitions
→ List<
String> -
The meaning(s) of the word.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
info
→ List<
String> -
Additional info.
final
-
links
→ List<
JishoSenseLink> -
Relevant links.
final
-
partsOfSpeech
→ List<
String> -
Type of word (Noun, Verb, etc.).
final
-
props
→ List<
Object> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
-
restrictions
→ List<
String> -
Restrictions as to which variants of the japanese words are usable for this sense.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
seeAlso
→ List<
String> -
Relevant words (might include synonyms).
final
-
source
→ List<
JishoWordSource> -
Origins of the word (from other languages).
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited -
Relevant tags.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited