length property

int length

Number of properties.

Returns the number of properties. This can be larger then the number of keys, since multiple properties with the same name are possible.

Implementation

int get length {
  var n = 0;
  for (final values in _data.values) {
    n += values.length;
  }
  return n;
}