sendFormDataRequestToiOS method
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}");
}
}