Thread class

Constructors

Thread({String? tid, String? topic, String? wid, String? uid, String? nickname, String? avatar, String? content, String? timestamp, int? unreadCount, String? type, bool? current, bool? top, bool? topVisitor, bool? nodisturb, bool? nodisturbVisitor, bool? unread, bool? unreadVisitor, String? client, String? currentUid})
const

Properties

avatar String?
final
client String?
final
content String?
final
current bool?
final
currentUid String?
final
hashCode int
The hash code for this object.
no setterinherited
nickname String?
final
nodisturb bool?
final
nodisturbVisitor bool?
final
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
tid String?
final
timestamp String?
final
top bool?
final
topic String?
final
topVisitor bool?
final
type String?
final
uid String?
final
unread bool?
final
unreadCount int?
final
unreadVisitor bool?
final
wid String?
final

Methods

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

Operators

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

Static Methods

fromContactJson(dynamic json) Thread
fromFileHelperJson(dynamic json) Thread
fromGroupJson(dynamic json) Thread
fromHistoryJson(dynamic json) Thread
fromUnreadJson(dynamic json) Thread
fromVisitorJson(dynamic json) Thread
fromWorkGroupJson(dynamic json) Thread
fromWorkGroupJson2(dynamic json) Thread