toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (displayName != null) 'displayName': displayName!,
      if (email != null) 'email': email!,
      if (federatedId != null) 'federatedId': federatedId!,
      if (phoneNumber != null) 'phoneNumber': phoneNumber!,
      if (photoUrl != null) 'photoUrl': photoUrl!,
      if (providerId != null) 'providerId': providerId!,
      if (rawId != null) 'rawId': rawId!,
      if (screenName != null) 'screenName': screenName!,
    };