ContentRestriction class

Constructors

ContentRestriction({required ContentRestrictionOperation operation, ContentRestrictionRestrictions? restrictions, Content? content, required ContentRestrictionExpandable expandable, required GenericLinks links})
ContentRestriction.fromJson(Map<String, Object?> json)
factory

Properties

content Content?
final
expandable ContentRestrictionExpandable
final
hashCode int
The hash code for this object.
no setterinherited
final
operation ContentRestrictionOperation
final
restrictions ContentRestrictionRestrictions?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({ContentRestrictionOperation? operation, ContentRestrictionRestrictions? restrictions, Content? content, ContentRestrictionExpandable? expandable, GenericLinks? links}) ContentRestriction
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited