find<T extends Object?> method
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;
}