V2TimSoundElem.fromJson constructor

V2TimSoundElem.fromJson(
  1. Map json
)

Implementation

V2TimSoundElem.fromJson(Map json) {
  json = Utils.formatJson(json);
  path = json['path'];
  UUID = json['UUID'];
  dataSize = json['dataSize'];
  duration = json['duration'];
  localUrl = json['localUrl'];
  url = json['url'];
  if (json['nextElem'] != null) {
    nextElem = Utils.formatJson(json['nextElem']);
  }
}