instanceOf<T extends Object?> method

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

Implementation

T? instanceOf<T extends Object?>([String? id]) {
  final instanceKey = ReactterInstance.generateKey<T?>(id);
  return _instancesByKey[instanceKey]?.instance;
}