MastodonRole class
User role information.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
Properties
- color → String?
-
Color of the role badge.
final
- createdAt → DateTime?
-
Timestamp when the role was created.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- highlighted → bool?
-
Whether to display the role badge.
final
- id → int
-
Role ID.
final
- name → String
-
Role name.
final
- permissions → String?
-
Permission bitmask (string format).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updatedAt → DateTime?
-
Timestamp when the role was updated.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializes to JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited