Message class Null safety

Constructors

Message({String? mid, String? content, String? imageUrl, String? voiceUrl, String? videoUrl, String? fileUrl, String? nickname, String? avatar, String? type, String? topic, String? timestamp, int? isSend, Thread? thread, User? user, String? status, String? currentUid, String? client, List<Answer>? answers, String? answersJson})
Message.fromMap(Map<String, dynamic> map)

Properties

answers List<Answer>?
read / write
answersJson String?
read / write
avatar String?
read / write
client String?
read / write
content String?
read / write
currentUid String?
read / write
fileUrl String?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
imageUrl String?
read / write
isSend int?
read / write
mid String?
read / write
nickname String?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
status String?
read / write
thread Thread?
read / write
timestamp String?
read / write
topic String?
read / write
type String?
read / write
user User?
read / write
videoUrl String?
read / write
voiceUrl String?
read / write

Methods

channelContent() String?
channelTitle() String?
channelType() String?
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

fromJson(dynamic json) Message
fromJsonThread(dynamic json) Message