ServiceStartOptions constructor

const ServiceStartOptions({
  1. int? serviceId,
  2. required AndroidNotificationOptions androidNotificationOptions,
  3. required IOSNotificationOptions iosNotificationOptions,
  4. required ForegroundTaskOptions foregroundTaskOptions,
  5. required String notificationContentTitle,
  6. required String notificationContentText,
  7. NotificationIconData? notificationIcon,
  8. List<NotificationButton>? notificationButtons,
  9. Function? callback,
})

Implementation

const ServiceStartOptions({
  this.serviceId,
  required this.androidNotificationOptions,
  required this.iosNotificationOptions,
  required this.foregroundTaskOptions,
  required this.notificationContentTitle,
  required this.notificationContentText,
  this.notificationIcon,
  this.notificationButtons,
  this.callback,
});