V2TimVideoElem.fromJson constructor

V2TimVideoElem.fromJson(
  1. Map<String, dynamic> json
)

Implementation

V2TimVideoElem.fromJson(Map<String, dynamic> 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'];
  if (json['nextElem'] != null) {
    nextElem = Map<String, dynamic>.from(json['nextElem']);
  }
}