toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['imageElem'] = imageElem?.toJson();
  data['soundElem'] = soundElem?.toJson();
  data['videoElem'] = videoElem?.toJson();
  data['fileElem'] = fileElem?.toJson();
  return data;
}