FlavorText class
- Annotations
-
- @freezed
Constructors
- FlavorText(@JsonKey(name: 'flavor_text') String flavorText, NamedAPIResource language, NamedAPIResource? version)
-
constfactory
- FlavorText.fromJson(Json json)
-
factory
Properties
-
copyWith
→ $FlavorTextCopyWith<
FlavorText> -
no setterinherited
- flavorText → String
-
The localized flavor text for an API resource in a specific language.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- language → NamedAPIResource
-
The language this name is in.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → NamedAPIResource?
-
The game version this flavor text is extracted from.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited