mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<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
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<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,
}) =>
    throw _privateConstructorUsedError;