Permission class

A single permission on the note.

Associates a member with a role.

Constructors

Permission({bool? deleted, String? email, Family? family, Group? group, String? name, String? role, User? user})
Permission.fromJson(Map json_)

Properties

deleted bool?
Whether this member has been deleted.
getter/setter pair
email String?
The email associated with the member.
getter/setter pair
family Family?
The Google Family to which this role applies.
getter/setter pair
group Group?
The group to which this role applies.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The resource name.
getter/setter pair
role String?
The role granted by this permission.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
user User?
The user to whom this role 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