factory PlayerRestrictions.fromJson(Map<String, dynamic> json) => _$PlayerRestrictionsFromJson(json);