evict method Null safety

  1. @protected
  2. @mustCallSuper
void evict(
  1. String asset
)
mustCallSuper">@mustCallSuperprotected">@protected

Called in response to the ext.flutter.evict service extension.

This is used by the flutter tool during hot reload so that any images that have changed on disk get cleared from caches.

Implementation

@protected
@mustCallSuper
void evict(String asset) {
  rootBundle.evict(asset);
}