of<T> static method

CounterModel? of<T>(
  1. BuildContext context,
  2. CounterAspect aspect
)

Implementation

static CounterModel? of<T>(BuildContext context,CounterAspect aspect){
  return InheritedModel.inheritFrom<CounterModel>(context, aspect: aspect);
}