ServiceStartOptions constructor
const
ServiceStartOptions({
- int? serviceId,
- required AndroidNotificationOptions androidNotificationOptions,
- required IOSNotificationOptions iosNotificationOptions,
- required ForegroundTaskOptions foregroundTaskOptions,
- required String notificationContentTitle,
- required String notificationContentText,
- NotificationIcon? notificationIcon,
- List<
NotificationButton> ? notificationButtons, - String? notificationInitialRoute,
- 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,
});