Contract for SKU component persistence.
- Implementers
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(
{required SkuComponent component}) → TaskEither< DomainFailure, SkuComponent> - Create a new SKU component.
-
delete(
{required String id}) → TaskEither< DomainFailure, void> - Delete a SKU component by id.
-
fetchAll(
) → TaskEither< DomainFailure, List< SkuComponent> > - Fetch all SKU components.
-
fetchById(
{required String id}) → TaskEither< DomainFailure, SkuComponent> - Fetch a single component by id.
-
fetchBySku(
{required String skuId}) → TaskEither< DomainFailure, List< SkuComponent> > - Fetch components for a SKU.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited