sendFormDataRequestToiOS method

Future<void> sendFormDataRequestToiOS(
  1. int productId
)
override

Implementation

Future<void> sendFormDataRequestToiOS(int productId) async {
  try {
    await _formDataChannel.invokeMethod('fetchFormData', productId);
    print("Method fetchFormData called successfully");
  } on PlatformException catch (e) {
    print("Failed to call fetchFormData: ${e.message}");
  }
}