internalSnapshot property Null safety

Observable<ModelSnapshot> internalSnapshot

Implementation

Observable<ModelSnapshot> get internalSnapshot {
  final r = _internalSnapshot;
  if (r == null) {
    return _internalSnapshot = Observable(_createSnapshot());
  } else {
    return r;
  }
}