AccessPolicy class

Rights management policy for YouTube resources.

Constructors

AccessPolicy({bool? allowed, List<String>? exception})
AccessPolicy.fromJson(Map json_)

Properties

allowed bool?
The value of allowed indicates whether the access to the policy is allowed or denied by default.
getter/setter pair
exception List<String>?
A list of region codes that identify countries where the default policy do not apply.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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