reduce method

  1. @override
void reduce()
override

The method that returns the result.

Implementation

@override
void reduce() {
  ref.read(snackBarProvider).showMessage(
        message,
        action: action,
      );
}