toSeconds static method

int toSeconds(
  1. Duration duration
)

Implementation

static int toSeconds(Duration duration) => duration.inSeconds;