LevitDependency<S> constructor

LevitDependency<S>({
  1. S? instance,
  2. S builder()?,
  3. Future<S> asyncBuilder()?,
  4. bool permanent = false,
  5. bool isLazy = false,
  6. bool isFactory = false,
})

Internal constructor for creating dependency metadata.

Implementation

LevitDependency({
  this.instance,
  this.builder,
  this.asyncBuilder,
  this.permanent = false,
  this.isLazy = false,
  this.isFactory = false,
});