getRequired<T> abstract method

T getRequired<T>({
  1. String? name,
})

throw exception when there is no service of type

Implementation

T getRequired<T>({String? name});