maxDuration function

Duration maxDuration(
  1. Duration a,
  2. Duration b
)

Implementation

Duration maxDuration(Duration a, Duration b) {
  return a > b ? a : b;
}