fromFile static method

ArcGISImage? fromFile(
  1. Uri fileUri
)

Creates a new image object from a file.

Will open PNG and JPEG images.

Parameters:

  • fileUri — The location of the image.