isEmpty property

bool isEmpty

Returns true if num is null or 0.

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

Implementation

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