asMap<T> method

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

Returns a stream where each snapshot is converted to a nullable map with values of type T.

Implementation

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