of<T> method

T of<T>()

Implementation

T of<T>() {
  assert(state.mounted, 'State is not mounted');
  return Data.of<T>(state.context);
}