PetAction class

Inheritance

Constructors

PetAction()

Properties

catBreedDetails CatBreedDetails
getter/setter pair
dogBreedDetails DogBreedDetails
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
petList List<PetModel>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addPet(PetModel petModel) → void
deleteHttp(String endpoint, dynamic token, [Map<String, dynamic>? data]) Future<Response>
inherited
deletePet(String petId) → void
getAllPets(Map<String, dynamic> queryParameters) Future<List<PetModel>>
getBreedsFor(String petType) Future<List>
getCatBreedDetails(String breedName) Future<CatBreedDetails>
getDogBreedDetails(String breedName) Future<DogBreedDetails>
getHttp(String endpoint, dynamic token) Future<Response>
inherited
getUserPets() Future<List<PetModel>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postHttp(String endpoint, dynamic token, Map<String, dynamic> body) Future<Response>
inherited
toString() String
A string representation of this object.
inherited
updatePetDetails(PetModel petModel) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited