Permission class

The permission setting of an object.

Constructors

Permission({bool? allowDiscovery, Anyone? anyone, Domain? domain, Group? group, String? role, User? user})
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.
getter/setter pair
anyone Anyone?
If set, this permission applies to anyone, even logged out users.
getter/setter pair
domain Domain?
The domain to whom this permission applies.
getter/setter pair
group Group?
The group to whom this permission applies.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
role String?
Indicates the Google Drive permissions role.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
user User?
The user to whom this permission applies.
getter/setter pair

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