Role class

Constructors

Role({String? etag, bool? isSuperAdminRole, bool? isSystemRole, String? kind, String? roleDescription, String? roleId, String? roleName, List<RoleRolePrivileges>? rolePrivileges})
Role.fromJson(Map json_)

Properties

etag ↔ String?
ETag of the resource.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isSuperAdminRole ↔ bool?
Returns true if the role is a super admin role.
getter/setter pair
isSystemRole ↔ bool?
Returns true if this is a pre-defined system role.
getter/setter pair
kind ↔ String?
The type of the API resource.
getter/setter pair
roleDescription ↔ String?
A short description of the role.
getter/setter pair
roleId ↔ String?
ID of the role.
getter/setter pair
roleName ↔ String?
Name of the role.
getter/setter pair
rolePrivileges ↔ List<RoleRolePrivileges>?
The set of privileges that are granted to this role.
getter/setter pair
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
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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