CartRepositoryImpl class

Implemented types
Mixed in types

Constructors

CartRepositoryImpl({required ICartRemoteDataSource dataSource})

Properties

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

Methods

addToCart(ChangeCartItemsRequest changeCartItemsRequest) Future<Either<Failure, void>>
override
createOrder(List<CreateOrderRequest> createOrderRequests) Future<Either<Failure, List<OrderResultEntity>>>
override
deleteFromCart(ChangeCartItemsRequest changeCartItemsRequest) Future<Either<Failure, void>>
override
editCart(ChangeCartItemsRequest changeCartItemsRequest) Future<Either<Failure, void>>
override
getCarts() Future<Either<Failure, List<CartEntity>>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
request<K>(Future<K> request()) Future<Either<Failure, K>>
inherited
toString() String
A string representation of this object.
inherited

Operators

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