AddressAction class
- Inheritance
-
- Object
- ApiService
- AddressAction
Constructors
Properties
-
addressList
↔ List<
AddressModel> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
postalDetailsList
↔ List<
PostalDetailsModel> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addAddress(
AddressModel addressModel) → void -
deleteAddress(
String addressId) → Future -
deleteHttp(
String endpoint, dynamic token, [Map< String, dynamic> ? data]) → Future<Response> -
inherited
-
editAddress(
AddressModel addressModel) → Future -
getAddress(
) → Future< List< AddressModel> > -
getAddressById(
String addressId) → Future< AddressModel> -
getAllPostalDetails(
) → Future< List< PostalDetailsModel> > -
getHttp(
String endpoint, dynamic token) → Future< Response> -
inherited
-
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited