V2TimFaceElem.fromJson constructor

V2TimFaceElem.fromJson(
  1. Map json
)

Implementation

V2TimFaceElem.fromJson(Map json) {
  elemType = MessageElemType.V2TIM_ELEM_TYPE_FACE;
  json = Utils.formatJson(json);
  index = json['face_elem_index'];
  data = json['face_elem_buf'];
  if (json['nextElem'] != null) {
    nextElem = Utils.formatJson(json['nextElem']);
  }
}