ProductRepository class

Constructors

ProductRepository(ParodiaHTTP http)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create({ProductBody? product}) Future<ResponseItemDTO>
delete({String? id}) Future<ResponseItemDTO>
getAll({ProductQuery? query}) Future<ResponseListDTO<ProductDTO>>
getById({String? id}) Future<ResponseItemDTO<ProductDTO>>
multiple({String? id, ProductMultiplePutBody? body}) Future<ResponseItemDTO>
multipleDelete({String? id, ProductMultipleDeleteBody? body}) Future<ResponseItemDTO>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recover({String? id}) Future<ResponseItemDTO>
slugify({String? id}) Future<ResponseItemDTO>
toString() String
A string representation of this object.
inherited
update({String? id, ProductBody? body}) Future<ResponseItemDTO>

Operators

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