WriteLeaderboardRecordRequest constructor

WriteLeaderboardRecordRequest({
  1. String? leaderboardId,
  2. WriteLeaderboardRecordRequest_LeaderboardRecordWrite? record,
})

Implementation

factory WriteLeaderboardRecordRequest({
  $core.String? leaderboardId,
  WriteLeaderboardRecordRequest_LeaderboardRecordWrite? record,
}) {
  final _result = create();
  if (leaderboardId != null) {
    _result.leaderboardId = leaderboardId;
  }
  if (record != null) {
    _result.record = record;
  }
  return _result;
}