add method

void add(
  1. Duration other
)

Adds other to the current duration.

Implementation

void add(Duration other) => value += other;