values property

Iterable<String> values

The values of this.

The values are iterated in the order of their corresponding keys. This means that iterating keys and values in parallel will provided matching pairs of keys and values.

The returned iterable has an efficient length method based on the length of the map. Its Iterable.contains method is based on == comparison.

Modifying the map while iterating the values may break the iteration.

Source

Iterable<String> get values {
  final values = <String>[];
  forEach((k, v) => values.add(v));
  return values;
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Storage/values.html