maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult confirmEmail(
    1. ConfirmEmailRequest value
    )?,
  2. TResult email(
    1. EmailUpdateRequest value
    )?,
  3. TResult password(
    1. PasswordUpdateRequest value
    )?,
  4. TResult profile(
    1. ProfileUpdateRequest value
    )?,
  5. TResult linkEmail(
    1. LinkEmailRequest value
    )?,
  6. TResult unlink(
    1. UnlinkRequest value
    )?,
  7. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(ConfirmEmailRequest value)? confirmEmail,
  TResult Function(EmailUpdateRequest value)? email,
  TResult Function(PasswordUpdateRequest value)? password,
  TResult Function(ProfileUpdateRequest value)? profile,
  TResult Function(LinkEmailRequest value)? linkEmail,
  TResult Function(UnlinkRequest value)? unlink,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;