duration property Null safety

Duration duration
final

The duration this frame should be shown.

A zero duration indicates that the frame should be shown indefinitely.

Implementation

final Duration duration;