of static method
Implementation
static DataStore of(BuildContext context, key) {
final store =
InheritedModel.inheritFrom<InheritedStore>(context, aspect: key)!;
store.setKey(key);
return store;
}
static DataStore of(BuildContext context, key) {
final store =
InheritedModel.inheritFrom<InheritedStore>(context, aspect: key)!;
store.setKey(key);
return store;
}