toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (expiresIn != null) 'expiresIn': expiresIn!,
      if (idToken != null) 'idToken': idToken!,
      if (isNewUser != null) 'isNewUser': isNewUser!,
      if (localId != null) 'localId': localId!,
      if (phoneNumber != null) 'phoneNumber': phoneNumber!,
      if (refreshToken != null) 'refreshToken': refreshToken!,
      if (temporaryProof != null) 'temporaryProof': temporaryProof!,
      if (temporaryProofExpiresIn != null)
        'temporaryProofExpiresIn': temporaryProofExpiresIn!,
      if (verificationProof != null) 'verificationProof': verificationProof!,
      if (verificationProofExpiresIn != null)
        'verificationProofExpiresIn': verificationProofExpiresIn!,
    };