UserRole class Null safety

Contains properties of auser role, which is used to manage user access.

Constructors

UserRole({String? accountId, bool? defaultUserRole, String? id, String? kind, String? name, String? parentUserRoleId, List<UserRolePermission>? permissions, String? subaccountId})
UserRole.fromJson(Map json_)

Properties

accountId String?
Account ID of this user role.
read / write
defaultUserRole bool?
Whether this is a default user role.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
id String?
ID of this user role.
read / write
kind String?
Identifies what kind of resource this is.
read / write
name String?
Name of this user role.
read / write
parentUserRoleId String?
ID of the user role that this user role is based on or copied from.
read / write
permissions List<UserRolePermission>?
List of permissions associated with this user role.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
subaccountId String?
Subaccount ID of this user role.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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