model<T> method
Implementation
T model<T>(Symbol key) {
assert(state.mounted, 'State is not mounted');
return Model.find<T>(state.context, key);
}
T model<T>(Symbol key) {
assert(state.mounted, 'State is not mounted');
return Model.find<T>(state.context, key);
}