PotObjectFactory<T> typedef

PotObjectFactory<T> = T Function()

The signature of a Singleton factory that creates and returns an object of type T.

Implementation

typedef PotObjectFactory<T> = T Function();