getImage abstract method

ImageWrapper getImage(
  1. int? maxTextureSize
)

Method is used to obtain origin sublocation image with specified maxTextureSize. maxTextureSize maximum texure size to render. Returns platform image.

Example:

// Get sublocation image
ImageWrapper? image = sublocation.getImage(1024); // max texture size 1024
if (image != null) {
 print('Sublocation image obtained with max texture size 1024');
}

Implementation

ImageWrapper getImage(int? maxTextureSize);