VideoItem.fromJson constructor

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

Implementation

factory VideoItem.fromJson(Map<String, dynamic> json) {
  return VideoItem(
      path: json["path"],
      duration: json["duration"],
      width: json["width"],
      height: json["height"]);
}