find<T> static method

T? find<T>()

Implementation

static T? find<T>() {
  NopListener? listener = GetTypePointers.globalDependences.findType<T>();
  listener ??= _NopState.currentDependences?.findType<T>();
  return listener?.data;
}