notif<T> method

ValueNotifier<T?> notif<T>()

Syntax sugar for ValueNotifier in the case of nullable

Implementation

ValueNotifier<T?> notif<T>() {
  return ValueNotifier<T?>(null);
}