$guard<T>.isNull constructor
$guard<T>.isNull (
- LiveData<
T> lv, { - Key? key,
- required Widget build(
- BuildContext context,
- 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,
);