setNotificationContentOnAppKill static method

Future<void> setNotificationContentOnAppKill(
  1. String title,
  2. String body
)

Saves on app kill notification custom title and body.

Implementation

static Future<void> setNotificationContentOnAppKill(
  String title,
  String body,
) =>
    Future.wait([
      prefs.setString(notificationOnAppKillTitle, title),
      prefs.setString(notificationOnAppKillBody, body),
    ]);