ServiceStartOptions class

Constructors

ServiceStartOptions({int? serviceId, List<ForegroundServiceTypes>? serviceTypes, required AndroidNotificationOptions androidNotificationOptions, required IOSNotificationOptions iosNotificationOptions, required ForegroundTaskOptions foregroundTaskOptions, required String notificationContentTitle, required String notificationContentText, NotificationIcon? notificationIcon, List<NotificationButton>? notificationButtons, String? notificationInitialRoute, Function? callback})
const

Properties

androidNotificationOptions → AndroidNotificationOptions
final
callback → Function?
final
foregroundTaskOptions → ForegroundTaskOptions
final
hashCode → int
The hash code for this object.
no setterinherited
iosNotificationOptions → IOSNotificationOptions
final
notificationButtons → List<NotificationButton>?
final
notificationContentText → String
final
notificationContentTitle → String
final
notificationIcon → NotificationIcon?
final
notificationInitialRoute → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceId → int?
final
serviceTypes → List<ForegroundServiceTypes>?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson(Platform platform) → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited