Skip to content

RIterableTuple2Ops<A, B>

extensionRIterableTuple2Ops<A, B>onRIterable<Record>

Conversion operations for RIterable of 2-tuples.

Methods

toIMap() extension

IMap<A,B>toIMap()

Creates a new IMap where each tuple element of this list is used to create a key and value respectively.

Available on RIterable<A>, provided by the RIterableTuple2Ops<A, B> extension

Implementation
dart
IMap<A, B> toIMap() => IMap.from(this);