setImageWithUrl method

Future<void> setImageWithUrl(
  1. String url,
  2. String forKey
)

Implementation

Future<void> setImageWithUrl(String url, String forKey) async {
  this.dynamicImages[forKey] =
      await decodeImageFromList((await get(Uri.parse(url))).bodyBytes);
}