handleNotification method
This function handles a notification and returns a boolean value indicating whether the notification was successfully handled.
Args: notification (Map): The parameter "notification" is a Map object that contains data related to a notification. It could include information such as the title and body of the notification, the sender of the notification, and any additional data that was included with the notification.
Implementation
Future<bool> handleNotification(Map notification) async {
return await _methods.handleNotification(notification);
}