toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (displayName != null) 'displayName': displayName!,
      if (expiresIn != null) 'expiresIn': expiresIn!,
      if (gamePlayerId != null) 'gamePlayerId': gamePlayerId!,
      if (idToken != null) 'idToken': idToken!,
      if (isNewUser != null) 'isNewUser': isNewUser!,
      if (localId != null) 'localId': localId!,
      if (playerId != null) 'playerId': playerId!,
      if (refreshToken != null) 'refreshToken': refreshToken!,
      if (teamPlayerId != null) 'teamPlayerId': teamPlayerId!,
    };