model<M extends Model<M> , T extends StateProvider<M> > static method
Implementation
static M model<M extends Model<M>, T extends StateProvider<M>>(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<ViewNotifier<T>>()!.notifier!._internalModel();
}