MessageSendProgressEntity.fromJson constructor

MessageSendProgressEntity.fromJson(
  1. 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"];
}