timeSpanOf function

TimeSpan? timeSpanOf(
  1. String duration
)

Implementation

TimeSpan? timeSpanOf(String duration) {
  return TimeSpan.ofISOString(duration);
}