isAdded<T> method

  1. @override
bool isAdded<T>({
  1. String? key,
})
inherited

Checks if the instance record exists.
When key is provided it will search the instance that have the same key

Implementation

@override
bool isAdded<T>({String? key}) => (key == null) //
    ? _hasBindByClassName(T.toString())
    : _hasBindByKey(key);