isEmpty property

bool isEmpty

Whether there is no key/value pair in the map.

Returns true if itself is Null.

マップにキーと値のペアがないかどうかを調べます。

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

Implementation

bool get isEmpty {
  if (this == null) {
    return true;
  }
  return this!.isEmpty;
}