toJson method
Implementation
Map<String, dynamic> toJson() => {
'clips': clips.map((c) => c.toJson()).toList(),
'audioTracks': audioTracks.map((a) => a.toJson()).toList(),
'textOverlays': textOverlays.map((t) => t.toJson()).toList(),
'effects': effects.map((e) => e.toJson()).toList(),
'aspectRatio': aspectRatio.name,
};