User class

Implementers
Annotations
  • @JsonSerializable.new()

Constructors

User({required int id, required int departmentId, required int timeZoneGroupId, DateTime? hired, DateTime? releaseDate, String? email, String? username, required bool active, required String fullName, required String firstName, required String middleName, required String lastName})
User.fromJson(Map<String, dynamic> json)
factory

Properties

active → bool
Wheather this user is active
final
departmentId → int
Unique identifier of user department
final
email → String?
User's email
final
firstName → String
User's first name
final
fullName → String
Fullname: firstName + middleName + lastName
final
hashCode → int
The hash code for this object.
no setterinherited
hired → DateTime?
Hire date
final
id → int
Unique object identifier
finalinherited
lastName → String
User's last name
final
middleName → String
User's middle name
final
releaseDate → DateTime?
Release date
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeZoneGroupId → int
Unique identifier of user time zone group
final
username → String?
User's unique username
final

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