ContentRestrictionUpdateRestrictionsGroupItem.fromJson constructor

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

Implementation

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