ContentRestrictionUpdate class
Constructors
- ContentRestrictionUpdate({required ContentRestrictionUpdateOperation operation, required ContentRestrictionUpdateRestrictions restrictions, Content? content})
-
ContentRestrictionUpdate.fromJson(Map<
String, Object?> json) -
factory
Properties
- content → Content?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- operation → ContentRestrictionUpdateOperation
-
The restriction operation applied to content.
final
- restrictions → ContentRestrictionUpdateRestrictions
-
The users/groups that the restrictions will be applied to. At least one of
user
orgroup
must be specified for this object.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{ContentRestrictionUpdateOperation? operation, ContentRestrictionUpdateRestrictions? restrictions, Content? content}) → ContentRestrictionUpdate -
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