mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? anonymous(
    1. AnonymousSignInResponse value
    )?,
  2. TResult? idp(
    1. IdpSignInResponse value
    )?,
  3. TResult? password(
    1. PasswordSignInResponse value
    )?,
  4. TResult? custom(
    1. CustomTokenSignInResponse value
    )?,
  5. TResult? linkIdp(
    1. LinkIdpResponse value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(AnonymousSignInResponse value)? anonymous,
  TResult? Function(IdpSignInResponse value)? idp,
  TResult? Function(PasswordSignInResponse value)? password,
  TResult? Function(CustomTokenSignInResponse value)? custom,
  TResult? Function(LinkIdpResponse value)? linkIdp,
}) =>
    throw _privateConstructorUsedError;