UserInfo class
Constructors
-
UserInfo({String? type, required String displayName, String? firstName, String? lastName, Avatar? avatar, String? color, int? colorIndex, Avatar? badge, String? preferredLanguage, required String userId, required List<
Role> ? roles, required String tenantId}) -
UserInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- avatar → Avatar?
-
final
- badge → Avatar?
-
final
- color → String?
-
final
- colorIndex → int?
-
final
- displayName → String
-
final
- firstName → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastName → String?
-
final
- preferredLanguage → String?
-
final
-
roles
→ List<
Role> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tenantId → String
-
final
- type → String?
-
final
- userId → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited