Machine class
- Annotations
-
- @freezed
Constructors
- Machine(int id, NamedAPIResource item, NamedAPIResource move, @JsonKey(name: 'version_group') NamedAPIResource versionGroup)
-
constfactory
- Machine.fromJson(Json json)
-
factory
Properties
-
copyWith
→ $MachineCopyWith<
Machine> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
The identifier for this resource.
no setterinherited
- item → NamedAPIResource
-
The TM or HM item that corresponds to this machine.
no setterinherited
- move → NamedAPIResource
-
The move that is taught by this machine.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- versionGroup → NamedAPIResource
-
The version group that this machine applies to.
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