toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (displayName != null) 'displayName': displayName!,
      if (gamePlayerId != null) 'gamePlayerId': gamePlayerId!,
      if (idToken != null) 'idToken': idToken!,
      if (playerId != null) 'playerId': playerId!,
      if (publicKeyUrl != null) 'publicKeyUrl': publicKeyUrl!,
      if (salt != null) 'salt': salt!,
      if (signature != null) 'signature': signature!,
      if (teamPlayerId != null) 'teamPlayerId': teamPlayerId!,
      if (tenantId != null) 'tenantId': tenantId!,
      if (timestamp != null) 'timestamp': timestamp!,
    };