roundUpToMultiple method
Rounds this double up to the nearest multiple of multiple.
Throws ArgumentError if multiple is zero.
Implementation
double roundUpToMultiple(double multiple) {
if (multiple == 0) {
throw ArgumentError('Multiple cannot be zero.');
}
return (this / multiple).ceil() * multiple;
}