V2TimStreamElem.fromJson constructor

V2TimStreamElem.fromJson(
  1. Map json
)

Implementation

V2TimStreamElem.fromJson(Map json) {
  elemType = MessageElemType.V2TIM_ELEM_TYPE_STREAM;
  json = Utils.formatJson(json);
  markdown = json['stream_elem_markdown'];
  data = json['stream_elem_data'];
  isStreamEnded = json['stream_elem_is_stream_ended'];
}