duration property

int get duration

获取视频时长(秒)

Implementation

int get duration => script?['duration'] as int? ?? 5;