Duration constructor

Duration({
  1. Int64? seconds,
})

Implementation

factory Duration({
  $fixnum.Int64? seconds,
}) {
  final _result = create();
  if (seconds != null) {
    _result.seconds = seconds;
  }
  return _result;
}