Permission class

The permission setting of an object.

Constructors

Permission()
Permission.fromJson(Map _json)

Properties

allowDiscovery bool
If true, the item can be discovered (e.g. in the user's "Shared with me" collection) without needing a link to the item.
read / write
anyone Anyone
If set, this permission applies to anyone, even logged out users.
read / write
domain Domain
The domain to whom this permission applies.
read / write
group Group
The group to whom this permission applies.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
role String
Indicates the Google Drive permissions role. The role determines a user's ability to read, write, and comment on items. Possible string values are: [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
user User
The user to whom this permission applies.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

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