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