maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult confirmEmail(
    1. ConfirmEmailResponse value
    )?,
  2. TResult email(
    1. EmailUpdateResponse value
    )?,
  3. TResult password(
    1. PasswordUpdateResponse value
    )?,
  4. TResult profile(
    1. ProfileUpdateResponse value
    )?,
  5. TResult linkEmail(
    1. LinkEmailResponse value
    )?,
  6. TResult unlink(
    1. UnlinkResponse value
    )?,
  7. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(ConfirmEmailResponse value)? confirmEmail,
  TResult Function(EmailUpdateResponse value)? email,
  TResult Function(PasswordUpdateResponse value)? password,
  TResult Function(ProfileUpdateResponse value)? profile,
  TResult Function(LinkEmailResponse value)? linkEmail,
  TResult Function(UnlinkResponse value)? unlink,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;