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. NotificationIcon? notificationIcon,
  8. List<NotificationButton>? notificationButtons,
  9. String? notificationInitialRoute,
  10. 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.notificationInitialRoute,
  this.callback,
});