DamageRelations class

Constructors

DamageRelations({List<NamedAPIResource> noDamageTo, List<NamedAPIResource> halfDamageTo, List<NamedAPIResource> doubleDamageTo, List<NamedAPIResource> noDamageFrom, List<NamedAPIResource> halfDamageFrom, List<NamedAPIResource> doubleDamageFrom})
DamageRelations.fromJson(Map<String, dynamic> json)

Properties

doubleDamageFrom List<NamedAPIResource>
read / write
doubleDamageTo List<NamedAPIResource>
read / write
halfDamageFrom List<NamedAPIResource>
read / write
halfDamageTo List<NamedAPIResource>
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
noDamageFrom List<NamedAPIResource>
read / write
noDamageTo List<NamedAPIResource>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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