maybeChange<T> static method
Optionally change the data of the model with the given key. Ignores if the model is read-only.
TThe type of the data.contextThe build context.keyThe data key.dataThe new data.
Implementation
static bool maybeChange<T>(BuildContext context, Symbol key, T data) {
return MultiModel.maybeChange(context, key, data);
}