watchFirst method

T? watchFirst()

watchFirst method.

Implementation

T? watchFirst() {
  return (_firstObservable ??=
          select((list) => list.isNotEmpty ? list.first : null))
      .watch();
}