fromJson method

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

Implementation

fromJson(Map<String, dynamic> json) {
  thumbImageData = json['thumbImageData'] ?? null;
  width = json['width'] ?? 0;
  height = json['height'] ?? 0;
  thumbImagePath = json['thumbImagePath'] ?? '';
  path = json['path'] ?? '';
  millSecond = json['millSecond'] ?? 0;
  size = json['size'] ?? 0;
}