maybeMap<TResult extends Object?> method
TResult
maybeMap<TResult extends Object?>({
- TResult idle(
- GammaIdle value
- TResult refreshing(
- GammaRefreshing value
- TResult refreshingCompleted(
- GammaRefreshingCompleted value
- TResult refreshingFailed(
- GammaRefreshingFailed value
- TResult loading(
- GammaLoading value
- TResult loadingCompleted(
- GammaLoadingCompleted value
- TResult loadingFailed(
- GammaLoadingFailed value
- TResult noMoreData(
- GammaNoMoreData value
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(GammaIdle value)? idle,
TResult Function(GammaRefreshing value)? refreshing,
TResult Function(GammaRefreshingCompleted value)? refreshingCompleted,
TResult Function(GammaRefreshingFailed value)? refreshingFailed,
TResult Function(GammaLoading value)? loading,
TResult Function(GammaLoadingCompleted value)? loadingCompleted,
TResult Function(GammaLoadingFailed value)? loadingFailed,
TResult Function(GammaNoMoreData value)? noMoreData,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;