Injectable constructor

const Injectable({
  1. bool factory = true,
  2. bool eager = true,
  3. bool replace = false,
  4. String scope = 'singleton',
})

Implementation

const Injectable({this.factory = true, this.eager = true, this.replace = false, this.scope = 'singleton'});