fromJson static method
Implementation
static Message fromJson(dynamic json) {
return Message(
uid: json['uid'],
type: json['type'],
content: json['content'],
status: json['status'],
createdAt: json['createdAt'],
client: json['client'],
extra: json['extra'],
//
threadTopic: json['threadTopic'],
user: json['user'] != null ? UserProtobuf.fromJson(json['user']) : null,
);
}