maybeMap<TResult extends Object?> method

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