obtainKey method

  1. @override
Future<DioImageProvider> obtainKey(
  1. ImageConfiguration configuration
)
override

Obtains the key for this image provider, which is used for caching purposes.

This method synchronously returns this instance as the key.

Implementation

@override
Future<DioImageProvider> obtainKey(ImageConfiguration configuration) {
  return SynchronousFuture<DioImageProvider>(this);
}