toMap method
Implementation
@override
Map<String, dynamic> toMap() => <String, dynamic>{
'playbackType': AndroidPlaybackTypeMessage.remote.index,
'volumeControlType': volumeControlType.index,
'maxVolume': maxVolume,
'volume': volume,
};