toMap method
Converts the configuration to a map for platform channel
Implementation
Map<String, dynamic> toMap() {
return {
'contentType': contentType.index,
'focusStrategy': focusStrategy.index,
'pauseWhenDucked': pauseWhenDucked,
};
}