User class

extends the DisplayUser by the pass field, which is used to store the password for the current user. this should not be used in the UI, cause it risks exposing the password

Inheritance

Constructors

User.new(dynamic name, String pass, {dynamic full_name, dynamic full_surname})

Properties

full_name String?
getter/setter pairinherited
full_surname String?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
name String
this is aquivalent to the KZL
finalinherited
pass String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromMap(Map<String, dynamic>? map) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
store() Future
stores the current user to the device
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited
unstore() Future
deletes user from device (used for logout)

Operators

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

Static Methods

fromStore() Future<User?>
creates a new User from variables stored on device