YIMRevokeMessage.fromJson constructor

YIMRevokeMessage.fromJson(
  1. Map<String, dynamic> map
)

Implementation

YIMRevokeMessage.fromJson(Map<String, dynamic> map) {
  messageID = map["messageID"]?.toString() ?? "";
  conversationID = map["conversationID"]?.toString() ?? "";
  conversationType = YIMEnum_ConversationType.from(map["conversationType"].toString());
}