withDuration method

void withDuration()

Implementation

void withDuration() => add('duration');