toMap method
Converts to a map for method channel
Implementation
Map<String, dynamic> toMap() => {
'duration': duration,
'showRemainingTimeInNotification': showRemainingTimeInNotification,
'timeFormat': timeFormat.index,
'onExpire': onExpire.index,
'expiredNotificationMessage': expiredNotificationMessage,
};