get<T> static method
Implementation
static T get<T>(BuildContext context, key, [defaultValue]) {
final store =
InheritedModel.inheritFrom<InheritedStore>(context, aspect: key)!;
store.setKey(key);
return store.get(defaultValue);
}