RoleModel class
Properties
-
admin
→ bool
-
Whether this role has administrative privileges.
final
-
created
→ DateTime?
-
Timestamp of when the role was created.
final
-
description
→ String?
-
Description of the role's purpose and permissions.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
id
→ String?
-
Unique identifier of the role.
final
-
isDefault
→ bool
-
Whether this is the default role assigned to new users.
final
-
modified
→ DateTime?
-
Timestamp of when the role was last modified.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
title
→ String
-
Display title of the role.
final
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
Converts the RoleModel to JSON for API requests.
-
toString()
→ String
-
A string representation of this object.
override