operator | method
Implementation
@override
operator |(BaseBLoCWidget<T> next) {
if (next is! CaseBLoCWidget<T>) {
throw ArgumentError('BLoC Widget in \$when block need to be followed by instance of CaseBLoCWidget, '
'but got ${next.runtimeType}');
}
cases.add(next);
return this;
}