duration property Null safety

Duration duration
final

Implementation

final Duration duration;