enumerableKeys static method

List enumerableKeys(
  1. Map map
)

Implementation

static List<dynamic> enumerableKeys(Map map) {
  final keys = <dynamic>[];
  dynamic cursor = map;
  while (cursor is Map) {
    keys.addAll(ownEnumerableKeys(cursor));
    cursor = getPrototype(cursor);
  }
  return keys.toSet().toList();
}