dispatch<T> static method

void dispatch<T>(
  1. BuildContext context,
  2. T value
)

Implementation

static void dispatch<T>(BuildContext context, T value) {
  final effect = _context[context] as Effect<T>;
  effect._callback(context, value);
}