ImageManifest.fromMap constructor

ImageManifest.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory ImageManifest.fromMap(Map<String, dynamic> map) => ImageManifest(
    config: Config.fromMap(map["config"]),
    layers:
        List<Manifest>.from(map["layers"].map((x) => Manifest.fromMap(x))),
    mediaType: map["mediaType"],
    schemaVersion: map["schemaVersion"]);