UserType class

The UserType class wraps the data of a user..

Annotations
  • @JsonSerializable()

Constructors

UserType.new({required String displayName, required String name, required String id})
Constructs a new instance.
const
UserType.fromJson(Map<String, dynamic> json)
Constructs a new instance from a JSON map.
factory

Properties

displayName String
The display name of the user.
final
hashCode int
The hash code for this object.
no setterinherited
id String
The Base64URL encoded identifier with padding.
final
name String
The name of the user.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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