ImageInfo.fromJson constructor

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

Implementation

factory ImageInfo.fromJson(Map<String, dynamic> json) => ImageInfo(
      width: json['width'],
      height: json['height'],
      format: json['format'],
      hasAlpha: json['hasAlpha'],
      metadata: json['metadata'],
    );