AddContentRestriction.fromJson constructor
Implementation
factory AddContentRestriction.fromJson(Map<String, Object?> json) {
return AddContentRestriction(
operation: AddContentRestrictionOperation.fromValue(
json[r'operation'] as String? ?? ''),
restrictions: AddContentRestrictionRestrictions.fromJson(
json[r'restrictions'] as Map<String, Object?>? ?? const {}),
);
}