initialize method
Implementation
@override
Future<bool> initialize({
required String notificationTitle,
required String notificationMessage,
}) async {
if (Dart.isWeb) {
return false;
}
if (Dart.isAndroid) {
return await FlutterBackground.initialize(
androidConfig: FlutterBackgroundAndroidConfig(
notificationTitle: notificationTitle,
notificationText: notificationMessage,
),
);
}
return false;
}