toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (captchaChallenge != null) 'captchaChallenge': captchaChallenge!,
      if (captchaResponse != null) 'captchaResponse': captchaResponse!,
      if (createdAt != null) 'createdAt': createdAt!,
      if (customAttributes != null) 'customAttributes': customAttributes!,
      if (delegatedProjectNumber != null)
        'delegatedProjectNumber': delegatedProjectNumber!,
      if (deleteAttribute != null) 'deleteAttribute': deleteAttribute!,
      if (deleteProvider != null) 'deleteProvider': deleteProvider!,
      if (disableUser != null) 'disableUser': disableUser!,
      if (displayName != null) 'displayName': displayName!,
      if (email != null) 'email': email!,
      if (emailVerified != null) 'emailVerified': emailVerified!,
      if (idToken != null) 'idToken': idToken!,
      if (instanceId != null) 'instanceId': instanceId!,
      if (lastLoginAt != null) 'lastLoginAt': lastLoginAt!,
      if (localId != null) 'localId': localId!,
      if (oobCode != null) 'oobCode': oobCode!,
      if (password != null) 'password': password!,
      if (phoneNumber != null) 'phoneNumber': phoneNumber!,
      if (photoUrl != null) 'photoUrl': photoUrl!,
      if (provider != null) 'provider': provider!,
      if (returnSecureToken != null) 'returnSecureToken': returnSecureToken!,
      if (upgradeToFederatedLogin != null)
        'upgradeToFederatedLogin': upgradeToFederatedLogin!,
      if (validSince != null) 'validSince': validSince!,
    };