ListLeaderboardRecordsAroundOwnerRequest constructor

ListLeaderboardRecordsAroundOwnerRequest({
  1. String? leaderboardId,
  2. UInt32Value? limit,
  3. String? ownerId,
  4. Int64Value? expiry,
})

Implementation

factory ListLeaderboardRecordsAroundOwnerRequest({
  $core.String? leaderboardId,
  $1.UInt32Value? limit,
  $core.String? ownerId,
  $1.Int64Value? expiry,
}) {
  final _result = create();
  if (leaderboardId != null) {
    _result.leaderboardId = leaderboardId;
  }
  if (limit != null) {
    _result.limit = limit;
  }
  if (ownerId != null) {
    _result.ownerId = ownerId;
  }
  if (expiry != null) {
    _result.expiry = expiry;
  }
  return _result;
}