operator / method
Performs division by a nullable double value.
If both are Null, Null is returned.
If only one of them is Null, a non-null value is returned.
Nullableなdouble値での除算を行います。
Implementation
double? operator /(num? other) {
if (this == null) {
return other?.toDouble();
}
if (other == null) {
return this;
}
return this! / other;
}