isNullOrZero function

bool isNullOrZero(
  1. dynamic val
)

Implementation

bool isNullOrZero(dynamic val) {
  return val == 0.0 || val == null;
}