TimeDistance constructor
Constructor with unrestricted and restricted times and distances
The API user does not normally need to construct instances directly.
Parameters
unrestrictedTimeS: Unrestricted time in secondsrestrictedTimeS: Restricted time in secondsunrestrictedDistanceM: Unrestricted distance in metersrestrictedDistanceM: Restricted distance in metersndBeginEndRatio: Restricted begin/end ratio
Implementation
TimeDistance({
this.unrestrictedTimeS = 0,
this.restrictedTimeS = 0,
this.unrestrictedDistanceM = 0,
this.restrictedDistanceM = 0,
this.ndBeginEndRatio = -1.0,
});