map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult invalidEmailAddress(
    1. InvalidEmailAddress<T> value
    ),
  2. required TResult invalidPhoneNumber(
    1. InvalidPhoneNumber<T> value
    ),
  3. required TResult emailAddressMustNotBeNull(
    1. EmailAddressMustNotBeNull<T> value
    ),
})
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;