Inst<T extends Object>.constant constructor

Inst<T extends Object>.constant(
  1. T? instance, {
  2. bool skipIfRegistered = true,
})

Implementation

Inst.constant(this.instance, {this.skipIfRegistered = true})
    : assert(instance != null),
      factory = null,
      shouldUpdate = _never,
      dispose = null,
      t = T;