toDuration method

Duration toDuration()

Implementation

Duration toDuration()
{
  return new Duration(seconds: seconds);
}