isEmpty property

bool isEmpty

Whether this int is null or zero.

Implementation

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