Object.fromJson constructor

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

Implementation

Object.fromJson(Map<String, dynamic> json) {
  boundingBox = json['bounding_box'] != null
      ?  BoundingBox.fromJson(json['bounding_box'])
      : null;
  dimensions = json['dimensions'] != null
      ?  Dimensions.fromJson(json['dimensions'])
      : null;
  fileSize = json['file_size'];
  score = json['score'];
  status = json['status'];
}