List<Map<String, dynamic>> buildActionIO(Map<String, String> types)

Source

List<Map<String, dynamic>> buildActionIO(Map<String, String> types) {
  return types.keys.map((it) => {"name": it, "type": types[it]}).toList();
}