Skip to main content

ChatListTileDataModel class

<p>This class creates JSON code using the JsonSerializable package.</p>

Annotations

Constructors

ChatListTileDataModel (List<ChatUser>? users, String? id)

ChatListTileDataModel.fromJson (Map<String, dynamic> json)

factory

Properties

hashCodeint

The hash code for this object.
<span class="feature">read-only</span><span class="feature">inherited</span>

idString?

<span class="feature">read / write</span>

runtimeTypeType

A representation of the runtime type of the object.
<span class="feature">read-only</span><span class="feature">inherited</span>

usersList<ChatUser>?

<span class="feature">read / write</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>