length property

int length

The number of key/value pairs in the map.

Returns 0 if itself is Null.

マップ内のキーと値のペアの数を返します。

自身がNullな場合は0を返します。

Implementation

int get length {
  if (this == null) {
    return 0;
  }
  return this!.length;
}