PokemonTcgApi class

Constructors

PokemonTcgApi.new({required String apiKey})

Properties

apiKey String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getCard(String cardId) Future<PokemonCard>
Gets a single pokemon card based on the card ID (e.g. 'xy7-54')
getCards({int page = 0}) Future<List<PokemonCard>>
Gets a paginated list of all pokemon cards.
getCardsForSet(String setId, {int page = 0}) Future<List<PokemonCard>>
Gets a paginated list of all pokemon cards for a particular set.
getRarities() Future<List<Rarity>>
Get All Rarities
getSet(String setId) Future<CardSet>
Returns a specific set by the set code
getSets() Future<CardSets>
Get All Sets
getSubtypes() Future<List<Subtype>>
Get All Subtypes
getSupertypes() Future<List<Supertype>>
Get All Supertypes
getTypes() Future<List<ElementalType>>
Get All Types
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