setSyncNotification method
Customizes the foreground notification shown during background sync.
Only affects Android. On iOS this is a no-op.
Implementation
@override
Future<void> setSyncNotification({String? title, String? text}) async {
await _channel.invokeMethod<void>('setSyncNotification', {
if (title != null) 'title': title,
if (text != null) 'text': text,
});
}