ContestType class
- Annotations
-
- @freezed
Constructors
-
ContestType(int id, String name, @JsonKey(name: 'berry_flavor') NamedAPIResource berryFlavor, List<
ContestName> names) -
constfactory
- ContestType.fromJson(Json json)
-
factory
Properties
- berryFlavor → NamedAPIResource
-
The berry flavor that correlates with this contest type.
no setterinherited
-
copyWith
→ $ContestTypeCopyWith<
ContestType> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
The identifier for this resource.
no setterinherited
- name → String
-
The name for this resource.
no setterinherited
-
names
→ List<
ContestName> -
The name of this contest type listed in different languages.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
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