V2TimVideoElem.fromJson constructor

V2TimVideoElem.fromJson(
  1. Map json
)

Implementation

V2TimVideoElem.fromJson(Map json) {
  json = Utils.formatJson(json);
  videoPath = json['videoPath'];
  UUID = json['UUID'];
  videoSize = json['videoSize'];
  duration = json['duration'];
  snapshotPath = json['snapshotPath'];
  snapshotUUID = json['snapshotUUID'];
  snapshotSize = json['snapshotSize'];
  snapshotWidth = json['snapshotWidth'];
  snapshotHeight = json['snapshotHeight'];
  videoUrl = json['videoUrl'];
  snapshotUrl = json['snapshotUrl'];
  localVideoUrl = json['localVideoUrl'];
  localSnapshotUrl = json['localSnapshotUrl'];
  if (json['nextElem'] != null) {
    nextElem = Utils.formatJson(json['nextElem']);
  }
}