PlayerLatencyPolicy.fromJson constructor

PlayerLatencyPolicy.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PlayerLatencyPolicy.fromJson(Map<String, dynamic> json) {
  return PlayerLatencyPolicy(
    maximumIndividualPlayerLatencyMilliseconds:
        json['MaximumIndividualPlayerLatencyMilliseconds'] as int?,
    policyDurationSeconds: json['PolicyDurationSeconds'] as int?,
  );
}