Permission class Null safety

A single permission on the note.

Associates a member with a role.


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


deleted bool?
Whether this member has been deleted. [...]
read / write
email String?
The email associated with the member. [...]
read / write
family Family?
The Google Family to which this role applies. [...]
read / write
group Group?
The group to which this role applies. [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
name String?
The resource name. [...]
read / write
role String?
The role granted by this permission. [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
user User?
The user to whom this role applies. [...]
read / write


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


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