Safely divides this number by other, returning 0 if either is null or if dividing by zero.
other
double safeDivide({num? other}) { if (this == null || other == null || other == 0) return 0.0; return this! / other; }