currentInstance property

  1. @protected
FutureOr<T>? currentInstance
getter/setter pair

Holds the current singleton instance of type T or null if no singleton instance was created.

Implementation

@protected
FutureOr<T>? currentInstance;