toJson method
Implementation
Map toJson() => {
'name': name,
'duration': duration,
'ext1': ext1 ?? '',
'ext2': ext2 ?? '',
'ext3': ext3 ?? '',
'from': from ?? '',
};
Map toJson() => {
'name': name,
'duration': duration,
'ext1': ext1 ?? '',
'ext2': ext2 ?? '',
'ext3': ext3 ?? '',
'from': from ?? '',
};