as<T> method

Stream<T> as<T>({
  1. String? format,
})

Returns a stream where each snapshot is converted to an object of type T.

Implementation

Stream<T> as<T>({String? format}) => map((s) => s.as<T>(format: format));