ContentRestriction constructor

ContentRestriction({
  1. required ContentRestrictionOperation operation,
  2. ContentRestrictionRestrictions? restrictions,
  3. Content? content,
  4. required ContentRestrictionExpandable expandable,
  5. required GenericLinks links,
})

Implementation

ContentRestriction(
    {required this.operation,
    this.restrictions,
    this.content,
    required this.expandable,
    required this.links});