divide<E extends num> method

double divide<E extends num>(
  1. E other
)

Divides this number by other.

This does not set the value for this EmpireNullableDoubleProperty.

The result is an double, as described by double./,

If the underlying value is null throws an EmpirePropertyNullValueException.

Implementation

double divide<E extends num>(E other) {
  return isNotNull
      ? _value! / other
      : throw EmpirePropertyNullValueException(
          StackTrace.current, propertyName, runtimeType);
}