$else<T> function

BaseBLoCWidget<T> $else<T>({
  1. Key? key,
  2. required Widget build(
    1. BuildContext context,
    2. T value
    ),
})

Implementation

BaseBLoCWidget<T> $else<T>({
  Key? key,
  required Widget Function(BuildContext context, T value) build,
}) {
  return $case<T>(
    (T value) => true,
    key: key,
    build: build,
  );
}