CapturedImage.fromMap constructor

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

Implementation

factory CapturedImage.fromMap(Map<String, dynamic> map) {
  return CapturedImage(
    bytes: map['bytes'],
    nv21: map['nv21'],
    width: map['width'],
    height: map['height'],
    rowBytes: map['rowBytes'],
    pixelStride: map['pixelStride'],
    rowStride: map['rowStride'],
    format: map['format'],
    time: map['time'],
    queue: map['queue'],
  );
}