GenericOneEvent<T> class
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(ShowLoadingGenericOneEvent<T> value), required TResult showLoaded(LoadedGenericOneEvent<T> value), required TResult refresh(RefreshGenericOneEvent<T> value), required TResult showError(ShowErrorGenericOneEvent<T> value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult? showLoading(ShowLoadingGenericOneEvent<T> value)?, TResult? showLoaded(LoadedGenericOneEvent<T> value)?, TResult? refresh(RefreshGenericOneEvent<T> value)?, TResult? showError(ShowErrorGenericOneEvent<T> value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult showLoading(ShowLoadingGenericOneEvent<T> value)?, TResult showLoaded(LoadedGenericOneEvent<T> value)?, TResult refresh(RefreshGenericOneEvent<T> value)?, TResult showError(ShowErrorGenericOneEvent<T> value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult showLoading()?, TResult showLoaded(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(T data), required TResult refresh(), required TResult showError(String exception)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult? showLoading()?, TResult? showLoaded(T data)?, TResult? refresh()?, TResult? showError(String exception)?})
→ TResult?
-
inherited