$Duration.wrap constructor

$Duration.wrap(
  1. Duration $value
)

Wrap a Duration in a $Duration

Implementation

$Duration.wrap(this.$value);