setMapList method Null safety

Future<void> setMapList(
  1. String key,
  2. Iterable<Map> values
)

Implementation

Future<void> setMapList(String key, Iterable<Map> values) async {
  await setMap(key, {"values": values.toList()});
}