operator ~/ method
Truncating division operator.
The result of the truncating division a ~/ b
is equivalent to
(a / b).truncate()
.
Implementation
int? operator ~/(num other) {
if (value != null) {
return value! ~/ other;
}
return null;
}