AddContentRestrictionRestrictionsGroupItem.fromJson constructor

AddContentRestrictionRestrictionsGroupItem.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory AddContentRestrictionRestrictionsGroupItem.fromJson(
    Map<String, Object?> json) {
  return AddContentRestrictionRestrictionsGroupItem(
    type: AddContentRestrictionRestrictionsGroupItemType.fromValue(
        json[r'type'] as String? ?? ''),
    name: json[r'name'] as String? ?? '',
  );
}