flattenAttributesMap function

List<String> flattenAttributesMap(
  1. Map<String, String> attributes
)

Implementation

List<String> flattenAttributesMap(Map<String, String> attributes) {
  var result = <String>[];
  attributes.forEach((k, v) {
    result
      ..add(k)
      ..add(v);
  });
  return result;
}