VendorsState class

Annotations

Constructors

VendorsState({@Default(VendorsStatus.initial) VendorsStatus vendorsStatus, @Default(<BannerEntity>[]) List<BannerEntity> banners, @Default(<VendorEntity>[]) List<VendorEntity> vendors, @Default(<VendorEntity>[]) List<VendorEntity> filteredVendors, @Default(false) bool hasReachedMax, @Default(<Filter>[]) List<Filter> filters, @Default(0) int numberOfAppliedFilters, SortingType? selectedSorting, String? query, String? errorMessage})
factory

Properties

banners List<BannerEntity>
no setterinherited
copyWith → $VendorsStateCopyWith<VendorsState>
Create a copy of VendorsState with the given fields replaced by the non-null parameter values.
no setterinherited
errorMessage String?
no setterinherited
filteredVendors List<VendorEntity>
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
query String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedSorting SortingType?
no setterinherited
vendors List<VendorEntity>
no setterinherited
vendorsStatus VendorsStatus
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