toMap method

ValueStream<Map<String?, V>> toMap()

Implementation

ValueStream<Map<String?, V>> toMap() {
  return this.map((models) => mapOf(models, keyOf: (model) => model.id));
}