ContentRestrictionRestrictions.fromJson constructor
Implementation
factory ContentRestrictionRestrictions.fromJson(Map<String, Object?> json) {
return ContentRestrictionRestrictions(
user: json[r'user'] != null
? UserArray.fromJson(json[r'user']! as Map<String, Object?>)
: null,
group: json[r'group'] != null
? GroupArray.fromJson(json[r'group']! as Map<String, Object?>)
: null,
expandable: json[r'_expandable'] != null
? ContentRestrictionRestrictionsExpandable.fromJson(
json[r'_expandable']! as Map<String, Object?>)
: null,
);
}