User class

Relates nicknames to auth information.

Constructors

User({required String name, required UserCredentials? userCredentials})
The default constructor.
User.fromJson(Map<String, dynamic> json)
Creates a User from JSON data.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Gets or sets the nickname for this auth information.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userCredentials UserCredentials?
Gets or sets the auth information.
final

Methods

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

Operators

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

Static Methods

listFromJson(Iterable<Map<String, dynamic>> list) List<User>
Creates a list of User from JSON data.