isGeoImage static method

bool isGeoImage(
  1. String? path
)

Checks if the supplied path refers to a GeoImage format, basing on the file extension.

Implementation

static bool isGeoImage(String? path) {
  return path != null &&
      (isTiff(path) ||
          path.toLowerCase().endsWith(PNG_EXT) ||
          path.toLowerCase().endsWith(JPG_EXT));
}