find<T extends Object?> method

T? find<T extends Object?>([
  1. String? id
])

Gets the instance of T type with an id optional.

If found it, returns it, else returns null.

Implementation

T? find<T extends Object?>([String? id]) {
  return _getReactterInstance<T>(id)?.instance;
}