operator ~/ method
Performs truncated 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
int? operator ~/(num? other) {
if (this == null) {
return other?.toInt();
}
if (other == null) {
return this?.toInt();
}
return this! ~/ other;
}