UserRole class Null safety

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


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


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.
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.
subaccountId String?
Subaccount ID of this user role.
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.