writeSeconds function

int writeSeconds(
  1. Duration duration
)

Implementation

int writeSeconds(Duration duration) => duration.inSeconds;