isEmpty property

bool isEmpty

Whether this double is null or zero.

Implementation

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