User class Null safety

Inheritance

Constructors

User({Map<String, dynamic>? json, dynamic id})
User.fromJson(Map<String, dynamic> json)
factory

Properties

acl List<String>?
read / writeinherited
dateMade int?
read / writeinherited
dateUpdated int?
read / writeinherited
dirty bool?
read / writeinherited
displayName String?
read / writeinherited
email String?
read / write
hashCode int
The hash code for this object.
read-onlyinherited
id String?
read / writeinherited
name String?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
username String?
read / write

Methods

copyFromJson(Map<String, dynamic> json) User
fromJson(Map<String, dynamic>? json) → dynamic
inherited
fromJsonItem(Map<String, dynamic>? json) → dynamic
override
getObjectName() String
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toJsonItem() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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