lazySingleton<T extends Object> static method
Bind a 'Lazy Singleton' class. Built only when called the first time using Modular.get. The instance will always be the same.
Implementation
static Bind<T> lazySingleton<T extends Object>(T Function(Inject i) inject,
{bool export = false}) {
return Bind<T>(inject, isSingleton: true, isLazy: true, export: export);
}