ForegroundServiceNotificationOptions class

A data object that let you customize the Foreground Service Notification that will be shown in the system's tray when the app is running as a Foreground Service. To be used with LocationRequest. Only applies for Android.

Constructors

ForegroundServiceNotificationOptions({String? title, String? message, bool? showStopAction, String? stopActionText, ForegroundServiceNotificationTapAction? tapAction})

Properties

hashCode → int
The hash code for this object.
no setterinherited
message ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showStopAction ↔ bool?
getter/setter pair
stopActionText ↔ String?
getter/setter pair
tapAction ↔ ForegroundServiceNotificationTapAction?
getter/setter pair
title ↔ String?
getter/setter pair

Methods

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

Operators

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