mapOrNull<TResult extends Object?> method
TResult?
mapOrNull<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
inherited
Implementation
@optionalTypeArgs
TResult? mapOrNull<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,
}) =>
throw _privateConstructorUsedError;