OrderServiceImp class Null safety

Inheritance
Implemented types

Constructors

OrderServiceImp({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

deleteData({String? path, Map<String, dynamic> queryParameters = const {}, Map<String, dynamic>? headers}) Future<Response>
inherited
getData({String? path, Map<String, dynamic> queryParameters = const {}, Map<String, dynamic>? headers}) Future<Response>
inherited
getOrderDetails({required String orderCode}) Future<OrderDetailsModel>
override
getOrders({required int customerId}) Future<List<OrderModel>>
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
toString() String
A string representation of this object. [...]
inherited
trackOrder({required String orderCode}) Future<TrackOrderModel>
Track order to see it's current status
override

Operators

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