getValueOrDefault method

double getValueOrDefault(
  1. double defaultValue
)

Implementation

double getValueOrDefault(double defaultValue) {
  return this ?? defaultValue;
}