User class

Implemented types
Annotations
  • @JsonSerializable()

Constructors

User({String? id, DateTime? createdAt, DateTime? updatedAt, String? email, List<String>? roles, bool? verified, Map<String, dynamic>? data})
User.fromJson(Map<String, dynamic> json)
factory

Properties

createdAt DateTime?
getter/setter pairoverride
data Map<String, dynamic>?
getter/setter pair
email String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pairoverride
roles List<String>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedAt DateTime?
getter/setter pairoverride
verified bool?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited