withBuffer static method

ArcGISImage? withBuffer(
  1. Uint8List data
)

Creates a new image object from a buffer.

Will open PNG and JPEG images.

Parameters:

  • data — The bytes to the image.