Bgra8888Image.from constructor

Bgra8888Image.from(
  1. Map<String, dynamic> map
)

Implementation

Bgra8888Image.from(Map<String, dynamic> map)
    : this(
        height: map["height"],
        width: map["width"],
        planes: (map["planes"] as List<dynamic>)
            .map((e) => ImagePlane.from(Map<String, dynamic>.from(e)))
            .toList(),
        rotation: InputAnalysisImageRotation.values.byName(map["rotation"]),
        format: inputAnalysisImageFormatParser(map["format"]),
      );