VendorState class

Annotations

Constructors

VendorState({@Default(VendorStatus.initial) VendorStatus status, @Default(<ProductEntity>[]) List<ProductEntity> products, @Default(false) bool hasReachedMax, @Default(<Filter>[]) List<Filter> filters, @Default(0) int numberOfAppliedFilters, CategoryEntity? category, SortingType? selectedSorting, String? vendorId, String? query, String? errorMessage})
const
factory

Properties

category → CategoryEntity?
no setterinherited
copyWith → $VendorStateCopyWith<VendorState>
Create a copy of VendorState with the given fields replaced by the non-null parameter values.
no setterinherited
errorMessage → String?
no setterinherited
filters → List<Filter>
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
hasReachedMax → bool
no setterinherited
numberOfAppliedFilters → int
no setterinherited
products → List<ProductEntity>
no setterinherited
query → String?
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectedSorting → SortingType?
no setterinherited
status → VendorStatus
no setterinherited
vendorId → String?
no setterinherited

Methods

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