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