LocalImageProvider.testInstance constructor

  1. @visibleForTesting
LocalImageProvider.testInstance()

This is useful for testing because it carries no state

Implementation

@visibleForTesting
factory LocalImageProvider.testInstance() {
  _instance = LocalImageProvider._internal();
  return _instance!;
}