User class

Annotations
  • @JsonSerializable()

Constructors

User.new({int? id, required String matricule, required String name, String? img, String? email, String? phone, String? password, required DateTime created_at, DateTime? updated_at, required int? equipe_id, required String role_key, Role? role})
User.fromJson(Map<String, dynamic> json)
factory

Properties

created_at DateTime
getter/setter pair
email String?
getter/setter pair
equipe Equipe?
getter/setter pair
equipe_id int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pair
img String?
final
matricule String
final
name String
final
password String?
getter/setter pair
phone String?
final
role Role?
final
role_key String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updated_at DateTime?
getter/setter pair

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