onArgComplete method Null safety

  1. @override
void onArgComplete(
  1. OperationArg arg,
  2. int argValue
)
override

Process an Operation that takes an OperationArg, once the argument value is available.

Implementation

@override
void onArgComplete(OperationArg arg, int argValue) {
  assert(arg.floatCalc != null || arg.intCalc != null);
  _addOperation(arg.op, argValue);
}