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