updateOrderReference static method
Implementation
static Future<String> updateOrderReference(
String orderId, String orderReferenceId) async {
try {
final result = await platform.invokeMethod(
'updateOrderReference', <String, String>{
'orderId': orderId,
'orderReferenceId': orderReferenceId
});
return result;
} on PlatformException catch (e) {
showToast(e.message.toString());
rethrow;
}
}