patchCalculatorState abstract method

  1. @protected
Future<S?> patchCalculatorState(
  1. String key,
  2. dynamic value
)

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);