Inst<T extends Object>.instance constructor
Inst<T extends Object>.instance (
- T? instance, {
- ShouldNotify<
T> ? shouldNotify, - bool skipIfRegistered = true,
Implementation
Inst.instance(this.instance,
{ShouldNotify<T>? shouldNotify, this.skipIfRegistered = true})
: assert(instance != null),
factory = null,
this.shouldUpdate = shouldNotify ?? _notEquals,
dispose = null,
t = T;