of method
Get the value held by this state,
and also rebuild the widget in context
whenever mutate
is called.
Implementation
T of(BuildContext? context) {
if (context != null) {
InheritedModel.inheritFrom<SharedValueInheritedModel>(
context,
aspect: identityHashCode(this),
);
}
return _value;
}