fromScaledAsset static method

Future<ArcGISImage> fromScaledAsset(
  1. String assetKey, {
  2. double devicePixelScale = 1.0,
})

For use with resolution-aware image assets, retrieves an ArcGISImage from the rootBundle under the key assetKey, matching the devicePixelScale.