Duration constructor
Duration({
- Int64? seconds,
- int? nanos,
Implementation
factory Duration({
$fixnum.Int64? seconds,
$core.int? nanos,
}) {
final $result = create();
if (seconds != null) {
$result.seconds = seconds;
}
if (nanos != null) {
$result.nanos = nanos;
}
return $result;
}