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