fetchProducts method
Implementation
Future<void> fetchProducts() async {
try {
await _productChannel.invokeMethod('fetchProduct');
print('Sent product request to iOS.');
} on PlatformException catch (e) {
print("Failed to send request: '${e.message}'.");
}
}