toJson method

Map toJson()

Implementation

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