$guard<T> constructor

$guard<T>(
  1. LiveData<T> lv, {
  2. Key? key,
  3. required bool when(
    1. T value
    ),
  4. required Widget build(
    1. BuildContext context,
    2. T value
    ),
})

Implementation

$guard(
  LiveData<T> lv, {
  Key? key,
  required bool Function(T value) when,
  required Widget Function(BuildContext context, T value) build,
}) : super(
        lv,
        key: key,
        when: when,
        build: build,
      );