KanjiResultData class
The main kanji data class, collecting all the result information in one place.
Constructors
-
KanjiResultData({required String kanji, String? taughtIn, String? jlptLevel, int? newspaperFrequencyRank, required int strokeCount, required String meaning, List<
String> kunyomi = const [], List<String> onyomi = const [], List<YomiExample> kunyomiExamples = const [], List<YomiExample> onyomiExamples = const [], Radical? radical, List<String> parts = const [], required String strokeOrderSvgUri}) -
const
-
KanjiResultData.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- jlptLevel → String?
-
The lowest JLPT exam that this kanji is likely to appear in, if applicable.
final
- kanji → String
-
The kanji symbol
final
-
kunyomi
→ List<
String> -
This character's kunyomi.
final
-
kunyomiExamples
→ List<
YomiExample> -
Examples of this character's kunyomi being used.
final
- meaning → String
-
The meaning of the kanji.
final
- newspaperFrequencyRank → int?
-
A number representing this kanji's frequency rank in newspapers, if applicable.
final
-
onyomi
→ List<
String> -
This character's onyomi.
final
-
onyomiExamples
→ List<
YomiExample> -
Examples of this character's onyomi being used.
final
-
parts
→ List<
String> -
The parts used in this kanji.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- radical → Radical?
-
Information about this character's radical, if applicable.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - strokeCount → int
-
How many strokes this kanji is typically drawn in.
final
- strokeOrderDiagramUri → String
-
The URL to a diagram showing how to draw this kanji step by step.
no setter
- strokeOrderGifUri → String
-
The URL to a gif showing the kanji being draw and its stroke order.
no setter
- strokeOrderSvgUri → String
-
The URL to an SVG describing how to draw this kanji.
final
- taughtIn → String?
-
The school level that the kanji is taught in, if applicable.
final
- uri → String
-
The URI that these results were scraped from.
no setter
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