V2TimCustomElem.fromJson constructor
V2TimCustomElem.fromJson(
- Map json
Implementation
V2TimCustomElem.fromJson(Map json) {
elemType = MessageElemType.V2TIM_ELEM_TYPE_CUSTOM;
json = Utils.formatJson(json);
data = json['custom_elem_data'];
desc = json['custom_elem_desc'];
extension = json['custom_elem_ext'];
if (json['nextElem'] != null) {
nextElem = Utils.formatJson(json['nextElem']);
}
}