toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'paused': paused,
'status': status,
'currentInterval': currentInterval,
'currentMicroSeconds': currentMicroSeconds,
'intervalMicroSeconds': intervalMicroSeconds,
'volume': volume,
'changeVolume': changeVolume,
};
}