RevokedMessageInfo.fromMap constructor
RevokedMessageInfo.fromMap(
- Map<String, dynamic> map
)
Implementation
factory RevokedMessageInfo.fromMap(Map<String, dynamic> map) {
return RevokedMessageInfo(
reeditMessage: map['reeditMessage'] as String?,
replyMsgId: map['replyMsgId'] as String?,
multiLineMessage: ((map['multiLineMessage'] as Map?) == null)
? null
: (map['multiLineMessage'] as Map).cast<String, String?>(),
aitContactsModel: ((map['aitContactsModel'] as Map?) == null)
? null
: AitContactsModel.fromMap(
(map['aitContactsModel'] as Map).cast<String, dynamic>()),
);
}