MessageSendProgressEntity.fromJson constructor
MessageSendProgressEntity.fromJson(
- dynamic data
Implementation
MessageSendProgressEntity.fromJson(data) {
Map<String, dynamic> json =
data is Map ? data.cast<String, dynamic>() : jsonDecode(data);
if (json['msgId'] != null) msgId = json["msgId"];
if (json['progress'] != null) progress = json["progress"];
}