User class

User object representation

Constructors

User({@required String id @required String name String avatar })

Properties

avatar → String
avatar of the user as URL
final
hashCode → int
The hash code for this object. [...]
read-only, override
id → String
identifier of the user
final
name → String
name of the user
final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, dynamic>
toString() → String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
override