Before migration, the code would not have an override of containsKey.

Code after migration:

class

MyImageCache

implements

ImageCache

@override

bool

containsKey

Object

key

// Check if your custom cache is tracking this key.

...

ImageProvider change

Code before the migration:

class

MyImageProvider

extends

ImageProvider

Object

@override

ImageStream

resolve

ImageConfiguration

configuration

// create stream

// set up error handling

// interact with ImageCache

// call obtainKey/load, etc.

...

Code after the migration: