UseInstance<T extends Object>.get constructor

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

Creates and/or gets the instance of T with an id optional.

Implementation

UseInstance.get([this.id]) {
  _instance = Reactter.get(id, this);
  _listen();
}