Conversation class

A private conversation with one other person.

Constructors

Conversation({required String nick, required MessageLog log, required int unread, required String? read_marker, required List<String> typing})
const
Conversation.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
log → MessageLog
What was said.
final
nick → String
Their nick, as they spell it.
final
read_marker → String?
The read marker timestamp the server last confirmed.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
typing → List<String>
Who is composing a message here right now.
final
unread → int
Messages since the last read marker.
final

Methods

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

Operators

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