toListOfPairsAsMap method
List<Map<String, dynamic> >
toListOfPairsAsMap(
- List<
P> listOfPairs, { - TypeMapper? xMapper,
- TypeMapper? yMapper,
Implementation
List<Map<String, dynamic>> toListOfPairsAsMap(List<P> listOfPairs,
{TypeMapper? xMapper, TypeMapper? yMapper}) {
return listOfPairs
.map((e) => toPairAsMap(e, xMapper: xMapper, yMapper: yMapper))
.toList()
.cast();
}