Role class

Implemented types

Constructors

Role(String id, {String? rev, int? deletionDate, String? name, Set<String>? permissions})
Role.fromJSON(Map<String, dynamic> data)
factory

Properties

deletionDate int?
getter/setter pairoverride
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pairoverride-getter
name String?
getter/setter pair
permissions Set<String>
getter/setter pair
rev String?
getter/setter pairoverride-getter
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

encode(Role value) Map<String, dynamic>