setImageWithUrl method

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

Implementation

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