ChatUser class
<p>This class creates JSON code for chat user using the JsonSerializable package.</p>
Annotations
Constructors
ChatUser ({String? firstName, String? id, String? image})
ChatUser.fromJson (Map<String, dynamic> json)
factory
Properties
firstName ↔ String?
<span class="feature">read / write</span>
hashCode → int
The hash code for this object.
<span class="feature">read-only</span><span class="feature">inherited</span>
id ↔ String?
<span class="feature">read / write</span>
image ↔ String?
<span class="feature">read / write</span>
runtimeType → Type
A representation of the runtime type of the object.
<span class="feature">read-only</span><span class="feature">inherited</span>
Methods
noSuchMethod(Invocation invocation) dynamic
Invoked when a non-existent method or property is accessed.
<span class="feature">inherited</span>
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
<span class="feature">inherited</span>
Operators
operator ==(Object other) bool
The equality operator.
<span class="feature">inherited</span>