ContentRestrictionUpdateRestrictions.fromJson constructor
Implementation
factory ContentRestrictionUpdateRestrictions.fromJson(
Map<String, Object?> json) {
return ContentRestrictionUpdateRestrictions(
group: (json[r'group'] as List<Object?>?)
?.map((i) =>
ContentRestrictionUpdateRestrictionsGroupItem.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
user: json[r'user'],
);
}