toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
      'androidResumeOnClick': androidResumeOnClick,
      'androidNotificationChannelId': androidNotificationChannelId,
      'androidNotificationChannelName': androidNotificationChannelName,
      'androidNotificationChannelDescription':
          androidNotificationChannelDescription,
      'notificationColor': notificationColor?.value,
      'androidNotificationIcon': androidNotificationIcon,
      'androidShowNotificationBadge': androidShowNotificationBadge,
      'androidNotificationClickStartsActivity':
          androidNotificationClickStartsActivity,
      'androidNotificationOngoing': androidNotificationOngoing,
      'androidStopForegroundOnPause': androidStopForegroundOnPause,
      'artDownscaleWidth': artDownscaleWidth,
      'artDownscaleHeight': artDownscaleHeight,
      'fastForwardInterval': fastForwardInterval.inMilliseconds,
      'rewindInterval': rewindInterval.inMilliseconds,
      'preloadArtwork': preloadArtwork,
      'androidBrowsableRootExtras': androidBrowsableRootExtras,
    };