subtract<E extends num> method
- @Deprecated('Use subtractNumber for a predictable numeric return type.')
- E other
Subtracts other from this number.
This does not set the value for this CurrentNullableIntProperty.
If the underlying value is null throws an CurrentPropertyNullValueException.
The result is an int, as described by int.-,
if both this number and other is an integer,
otherwise the result is a double.
Implementation
@Deprecated('Use subtractNumber for a predictable numeric return type.')
E subtract<E extends num>(E other) {
return _normalizeResult<E>(
subtractNumber(other),
propertyName,
runtimeType,
);
}