Characteristic class

Annotations
  • @freezed

Constructors

Characteristic(int id, @JsonKey(name: 'gene_modulo') int geneModulo, @JsonKey(name: 'possible_values') List<int> possibleValues)
const
factory
Characteristic.fromJson(Json json)
factory

Properties

copyWith → $CharacteristicCopyWith<Characteristic>
no setterinherited
geneModulo int
The remainder of the highest stat/IV divided by 5.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
The identifier for this resource.
no setterinherited
possibleValues List<int>
The possible values of the highest stat that would result in a Pokémon recieving this characteristic when divided by 5.
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