ImageInfo({Image image, double scale: 1.0 })

Creates an ImageInfo object for the given image and scale.

Both the image and the scale must not be null.

Source

ImageInfo({ this.image, this.scale: 1.0 }) {
  assert(image != null);
  assert(scale != null);
}