toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
      if (appleAudioCategory != null)
        'appleAudioCategory': appleAudioCategory!.value,
      if (appleAudioCategoryOptions != null)
        'appleAudioCategoryOptions':
            appleAudioCategoryOptions!.map((e) => e.value).toList(),
      if (appleAudioMode != null) 'appleAudioMode': appleAudioMode!.value,
    };