of<T extends ModelState> static method
Implementation
static T? of<T extends ModelState>(BuildContext context) {
return context.findAncestorStateOfType<T>();
}
static T? of<T extends ModelState>(BuildContext context) {
return context.findAncestorStateOfType<T>();
}