createOrder static method
Implementation
static Future<void> createOrder(
String orderReferenceId, String description) async {
try {
await platform.invokeMethod('createOrder', <String, String>{
'orderReferenceId': orderReferenceId,
'description': description
});
} on PlatformException catch (e) {
showToast(e.message.toString());
}
}