duration property Null safety

int duration
read / write

How long this frame should be displayed, in milliseconds. A duration of 0 indicates no delay and the next frame will be drawn as quickly as it can.

Implementation

int duration = 0;