closeJourney method
Implementation
Future<void> closeJourney(String customerID) async {
try {
await _closeJourneyChannel.invokeMethod('closeJourney', customerID);
print('Method called in AppDelegate');
} on PlatformException catch (e) {
print("Failed to invoke method: '${e.message}'.");
} catch (e) {
print("catch an error = $e}");
}
}