isEmpty property

bool isEmpty

Returns true if int is null or 0.

intNull、もしくは0の場合trueを返します。

Implementation

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