toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final maximumIndividualPlayerLatencyMilliseconds =
      this.maximumIndividualPlayerLatencyMilliseconds;
  final policyDurationSeconds = this.policyDurationSeconds;
  return {
    if (maximumIndividualPlayerLatencyMilliseconds != null)
      'MaximumIndividualPlayerLatencyMilliseconds':
          maximumIndividualPlayerLatencyMilliseconds,
    if (policyDurationSeconds != null)
      'PolicyDurationSeconds': policyDurationSeconds,
  };
}