onReload method

Stream<List<Record<ISunnyContact>>> onReload({
  1. bool includeCurrentState = true,
})
inherited

Implementation

Stream<List<Record<V>>> onReload({bool includeCurrentState = true}) {
  if (includeCurrentState == true) {
    return Stream<List<Record<V>>>.fromIterable(
            [_data.values.toList(growable: false)])
        .followedBy(_reloadCompletions.stream);
  } else {
    return _reloadCompletions.stream;
  }
}