$guard<T>.isNull constructor

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

Implementation

factory $guard.isNull(
  LiveData<T> lv, {
  Key? key,
  required Widget Function(BuildContext context, T value) build,
}) =>
    $guard<T>(
      lv,
      key: key,
      when: (T t) => t == null,
      build: build,
    );