maybeMap<TResult extends Object?> method
TResult
maybeMap<TResult extends Object?>({
- TResult empty(
- UserEmptyState value
- TResult loading(
- UserLoadingState value
- TResult user(
- UserUserState value
- TResult error(
- UserErrorState value
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(UserEmptyState value)? empty,
TResult Function(UserLoadingState value)? loading,
TResult Function(UserUserState value)? user,
TResult Function(UserErrorState value)? error,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;