RefreshGenericEvent<T> class abstract

Implemented types

Constructors

RefreshGenericEvent()
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 showLoading(ShowLoadingGenericEvent<T> value), required TResult showLoaded(LoadedGenericEvent<T> value), required TResult showFullLoaded(FullLoadedGenericEvent<T> value), required TResult refresh(RefreshGenericEvent<T> value), required TResult showError(ShowErrorGenericEvent<T> value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? showLoading(ShowLoadingGenericEvent<T> value)?, TResult? showLoaded(LoadedGenericEvent<T> value)?, TResult? showFullLoaded(FullLoadedGenericEvent<T> value)?, TResult? refresh(RefreshGenericEvent<T> value)?, TResult? showError(ShowErrorGenericEvent<T> value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult showLoading(ShowLoadingGenericEvent<T> value)?, TResult showLoaded(LoadedGenericEvent<T> value)?, TResult showFullLoaded(FullLoadedGenericEvent<T> value)?, TResult refresh(RefreshGenericEvent<T> value)?, TResult showError(ShowErrorGenericEvent<T> value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult showLoading()?, TResult showLoaded(List<T> data)?, TResult showFullLoaded(List<T> data)?, TResult refresh()?, TResult showError(String exception)?, 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 showLoading(), required TResult showLoaded(List<T> data), required TResult showFullLoaded(List<T> data), required TResult refresh(), required TResult showError(String exception)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? showLoading()?, TResult? showLoaded(List<T> data)?, TResult? showFullLoaded(List<T> data)?, TResult? refresh()?, TResult? showError(String exception)?}) → TResult?
inherited

Operators

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