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