Thread class Null safety

Inheritance

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})
Thread.fromMap(Map<String, dynamic> map)

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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
fromGroupJson(dynamic json) Thread
fromHistoryJson(dynamic json) Thread
fromVisitorJson(dynamic json) Thread
fromWorkGroupJson(dynamic json) Thread
fromWorkGroupJson2(dynamic json) Thread