updateNotification method

Future<void> updateNotification({
  1. String? title,
  2. String? message,
  3. String? bigMessage,
})

Update the notification text (Android only)

Dynamically updates the notification shown while tracking in background.

Implementation

Future<void> updateNotification({
  String? title,
  String? message,
  String? bigMessage,
}) async {
  await BackgroundLocator.updateNotificationText(
    title: title,
    msg: message,
    bigMsg: bigMessage,
  );
}