SkuWebServicesImp class Null safety

Inheritance
Implemented types

Constructors

SkuWebServicesImp({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
getInnerProductSliders({required String productCode, required String relatedItemsEnum, int? customerId}) Future<List<ProductDetailsModel>>
It's used to return related products list [...]
override
getProductDetails({required int skuid, int? customerId}) Future<ProductDetailsModel>
It's used to get all product details. It must take product skuid
override
getProductDetailsScanner({required String skuCode, int? customerId}) Future<ProductDetailsModel>
It's used to get all produt details. It must take product sku code
override
getSkuDetails({required String productCode, required int colorId, required int sizeId, required String switchType, int? customerId}) Future<ProductDetailsModel>
It's used when changing the product color or product size. [...]
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

Operators

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