exists<T> static method

bool exists<T>({
  1. String? tag,
})

Check if a dependency exists in root scope

Implementation

static bool exists<T>({String? tag}) {
  return rootScope.exists<T>(tag: tag);
}