AddressServicesImp class Null safety

Inheritance
Implemented types

Constructors

AddressServicesImp({String defaultPath = ''})

Properties

defaultPath String
final, inherited
dio Dio
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

deleteAddress({required int addressId}) Future<bool?>
override
deleteData({String? path, Map<String, dynamic> queryParameters = const {}, Map<String, dynamic>? headers}) Future<Response>
inherited
getAddressBook({required int customId}) Future<List<AddressModel>>
Get all client addresses
override
getAddressDetails({required int addressId}) Future<AddressModel>
override
getData({String? path, Map<String, dynamic> queryParameters = const {}, Map<String, dynamic>? headers}) Future<Response>
inherited
getShipmentAddresses({required int customId}) Future<List<AddressModel>>
Use it in determine the users's location zone by getting all his addresses in this zone
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
postData({dynamic data, String? path, Map<String, dynamic> queryParameters = const {}, Map<String, dynamic>? headers}) Future<Response>
inherited
putData(dynamic data, {String? path, Map<String, dynamic> queryParameters = const {}, Map<String, dynamic>? headers}) Future<Response>
inherited
saveAddress({required AddressModel addressModel}) Future<AddressModel>
Use it for adding new address or editing an existing address [...]
override
toString() String
A string representation of this object. [...]
inherited

Operators

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