patchCalculatorState abstract method
Updates a single field in the calculator state.
Takes key
as the field key and value
as the new value to update.
Returns a future of the updated state or null
if the state is not
updated.
Implementation
@protected
Future<S?> patchCalculatorState(String key, dynamic value);