PokemonCard class
Constructors
-
PokemonCard.new({required String id, required String name, required Supertype supertype, required List<
Subtype> subtypes, required List<ElementalType> types, required String? hp, required String? evolvesFrom, required SetLegalities legalities, required String? rarity, required String number, required String? artist, required int? convertedRetreatCost, required CardSet set, required String? flavorText, required List<int> nationalPokedexNumbers, required List<Ability> abilities, required List<Attack> attacks, required List<Weakness> weaknesses, required List<Resistance> resistances, required List<String> retreatCost, required CardImages images, required dynamic tcgPlayer}) - PokemonCard.fromJson(JsonMap json)
-
factory
Properties
-
abilities
→ List<
Ability> -
final
- artist → String?
-
final
-
attacks
→ List<
Attack> -
final
- convertedRetreatCost → int?
-
final
- evolvesFrom → String?
-
final
- flavorText → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hp → String?
-
final
- id → String
-
final
- images → CardImages
-
final
- legalities → SetLegalities
-
final
- name → String
-
final
-
nationalPokedexNumbers
→ List<
int> -
final
- number → String
-
final
- rarity → String?
-
final
-
resistances
→ List<
Resistance> -
final
-
retreatCost
→ List<
String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- set → CardSet
-
final
-
subtypes
→ List<
Subtype> -
final
- supertype → Supertype
-
final
- tcgPlayer → dynamic
-
final
-
types
→ List<
ElementalType> -
final
-
weaknesses
→ List<
Weakness> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited