toCli method
Implementation
@override
String toCli() {
final properties = <String>[
if (type != null) 'type=$type',
if (alpha != null) 'alpha=$alpha',
if (startFrame != null) 'start_frame=$startFrame',
if (nbFrames != null) 'nb_frames=$nbFrames',
if (startTime != null) 'start_time=${startTime!.toSeconds()}',
if (duration != null) 'duration=${duration!.toSeconds()}',
if (color != null) 'color=$color',
];
return 'fade=${properties.join(':')}';
}