setOrderNumber static method

Future<void> setOrderNumber(
  1. String orderNumber
)

Implementation

static Future<void> setOrderNumber(String orderNumber) async {
  try {
    await platform.invokeMethod(
        'setOrderNumber', <String, String>{'orderNumber': orderNumber});
  } on PlatformException catch (e) {
    showToast(e.message.toString());
  }
}