toMap method

Map<String, dynamic> toMap()

Converts to a map for method channel

Implementation

Map<String, dynamic> toMap() => {
      'duration': duration,
      'showRemainingTimeInNotification': showRemainingTimeInNotification,
      'timeFormat': timeFormat.index,
      'onExpire': onExpire.index,
      'expiredNotificationMessage': expiredNotificationMessage,
    };