Thread class

Constructors

Thread({String? uid, String? topic, String? content, String? type, String? status, bool? top, bool? unread, int? unreadCount, bool? mute, int? star, bool? folded, String? client, String? extra, UserProtobuf? user, String? updatedAt})

Properties

client String?
getter/setter pair
content String?
getter/setter pair
extra String?
getter/setter pair
folded bool?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mute bool?
getter/setter pair
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
star int?
getter/setter pair
status String?
getter/setter pair
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
top bool?
getter/setter pair
topic String?
getter/setter pair
type String?
getter/setter pair
uid String?
getter/setter pair
unread bool?
getter/setter pair
unreadCount int?
getter/setter pair
updatedAt String?
getter/setter pair
user UserProtobuf?
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(dynamic json) Thread
fromProto(Message messageProto) Thread
init() Thread