buildWhen method

Implementation

@protected
bool buildWhen(
  FastCalculatorBlocState previous,
  FastCalculatorBlocState next,
) {
  final previousValue = previous.metadata[metatataKey];
  final nextValue = next.metadata[metatataKey];

  return nextValue != previousValue;
}