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;
}