VendorEvent class

Annotations

Constructors

VendorEvent.applyFiltersButtonPressed({required List<Filter> filters})
const
factory
VendorEvent.applySortingButtonPressed({SortingType? sortingType})
const
factory
VendorEvent.searchFieldValueChanged({String? value})
const
factory
VendorEvent.started({String? vendorId})
const
factory
VendorEvent.vendorProductsFetched({String? vendorId, CategoryEntity? category})
const
factory
VendorEvent.vendorProductsRefreshed({String? categoryId})
const
factory

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

map<TResult extends Object?>({required TResult started(_Started value), required TResult vendorProductsFetched(_VendorProductsFetched value), required TResult vendorProductsRefreshed(_VendorProductsRefreshed value), required TResult applyFiltersButtonPressed(_ApplyFiltersButtonPressed value), required TResult applySortingButtonPressed(_ApplySortingButtonPressed value), required TResult searchFieldValueChanged(_SearchFieldValueChanged value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? started(_Started value)?, TResult? vendorProductsFetched(_VendorProductsFetched value)?, TResult? vendorProductsRefreshed(_VendorProductsRefreshed value)?, TResult? applyFiltersButtonPressed(_ApplyFiltersButtonPressed value)?, TResult? applySortingButtonPressed(_ApplySortingButtonPressed value)?, TResult? searchFieldValueChanged(_SearchFieldValueChanged value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult started(_Started value)?, TResult vendorProductsFetched(_VendorProductsFetched value)?, TResult vendorProductsRefreshed(_VendorProductsRefreshed value)?, TResult applyFiltersButtonPressed(_ApplyFiltersButtonPressed value)?, TResult applySortingButtonPressed(_ApplySortingButtonPressed value)?, TResult searchFieldValueChanged(_SearchFieldValueChanged value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult started(String? vendorId)?, TResult vendorProductsFetched(String? vendorId, CategoryEntity? category)?, TResult vendorProductsRefreshed(String? categoryId)?, TResult applyFiltersButtonPressed(List<Filter> filters)?, TResult applySortingButtonPressed(SortingType? sortingType)?, TResult searchFieldValueChanged(String? value)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult started(String? vendorId), required TResult vendorProductsFetched(String? vendorId, CategoryEntity? category), required TResult vendorProductsRefreshed(String? categoryId), required TResult applyFiltersButtonPressed(List<Filter> filters), required TResult applySortingButtonPressed(SortingType? sortingType), required TResult searchFieldValueChanged(String? value)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? started(String? vendorId)?, TResult? vendorProductsFetched(String? vendorId, CategoryEntity? category)?, TResult? vendorProductsRefreshed(String? categoryId)?, TResult? applyFiltersButtonPressed(List<Filter> filters)?, TResult? applySortingButtonPressed(SortingType? sortingType)?, TResult? searchFieldValueChanged(String? value)?}) → TResult?
inherited

Operators

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