transform method
Same as RepositoryAddon.transform but with caching
Implementation
Stream<T> transform({
required DocumentReference ref,
}) {
return ConcatStream([
Stream.fromFuture(_addon.tryFetch(ref: ref, source: Source.cache))
.handleError((_) {})
.whereType<T>(),
_addon.transform(ref: ref),
]);
}