maybeMap<TResult extends Object?> method
- @optionalTypeArgs
- TResult invalidEmailAddress(
- InvalidEmailAddress<
T> value
- InvalidEmailAddress<
- TResult invalidPhoneNumber(
- InvalidPhoneNumber<
T> value
- InvalidPhoneNumber<
- TResult emailAddressMustNotBeNull(
- EmailAddressMustNotBeNull<
T> value
- EmailAddressMustNotBeNull<
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(InvalidEmailAddress<T> value)? invalidEmailAddress,
TResult Function(InvalidPhoneNumber<T> value)? invalidPhoneNumber,
TResult Function(EmailAddressMustNotBeNull<T> value)?
emailAddressMustNotBeNull,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;