AddContentRestrictionRestrictionsUserItem class
A user that the restriction will be applied to. Either the username
or the userKey
must be specified to identify the user.
Constructors
- AddContentRestrictionRestrictionsUserItem({required AddContentRestrictionRestrictionsUserItemType type, String? username, String? userKey, required String accountId})
-
AddContentRestrictionRestrictionsUserItem.fromJson(Map<
String, Object?> json) -
factory
Properties
- accountId → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → AddContentRestrictionRestrictionsUserItemType
-
Set to 'known'.
final
- userKey → String?
-
final
- username → String?
-
final
Methods
-
copyWith(
{AddContentRestrictionRestrictionsUserItemType? type, String? username, String? userKey, String? accountId}) → AddContentRestrictionRestrictionsUserItem -
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