createJourney method
Implementation
Future<void> createJourney(String journeyType) async {
try {
await _journeyChannel.invokeMethod('createJourneyinAbyan', journeyType);
} on PlatformException catch (e) {
print("Failed to invoke method: '${e.message}'.");
} catch (e) {
print("catch an error = $e}");
}
}