updateScheduledNotification method
Update a scheduled notification
Implementation
@override
Future<bool> updateScheduledNotification(dynamic notification) async {
try {
final Map<String, dynamic> notificationData = notification.toJson();
final result = await methodChannel.invokeMethod<bool>('updateScheduledNotification', notificationData);
return result ?? false;
} on PlatformException catch (e) {
debugPrint('Error updating scheduled notification: ${e.message}');
return false;
}
}