toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (alternatePlayerId != null)
        'alternate_player_id': alternatePlayerId!,
      if (kind != null) 'kind': kind!,
      if (playerId != null) 'player_id': playerId!,
    };