toDuration static method

Duration toDuration(
  1. int seconds
)

Implementation

static Duration toDuration(int seconds) => Duration(seconds: seconds);