SingletonFactory<T> typedef
SingletonFactory<T> =
T Function()
Factory to create singleton
Implementation
typedef T SingletonFactory<T>();
Factory to create singleton
typedef T SingletonFactory<T>();