isNullOrZero property

bool isNullOrZero

Checks whether number is 0 or null

Implementation

bool get isNullOrZero {
  if (this == 0) {
    return true;
  } else {
    return false;
  }
}