maybeMap<TResult extends Object?> method
TResult
maybeMap<TResult extends Object?>({
- TResult serverError(
- ServerError value
- TResult networkError(
- NetworkError value
- TResult unknownError(
- UnknownError value
- TResult noData(
- NoData value
- TResult nothing(
- Nothing value
- TResult login(
- Login value
- TResult warningError(
- WarningError value
- TResult crashError(
- CrashError value
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(ServerError value)? serverError,
TResult Function(NetworkError value)? networkError,
TResult Function(UnknownError value)? unknownError,
TResult Function(NoData value)? noData,
TResult Function(Nothing value)? nothing,
TResult Function(Login value)? login,
TResult Function(WarningError value)? warningError,
TResult Function(CrashError value)? crashError,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;