hasProductWithId method
Implementation
@override
Future<bool> hasProductWithId(String productId) async {
final result =
await methodChannel.invokeMethod<bool>('hasProductWithId', productId);
if (result == null) {
throw Exception('hasProductWithId returned null');
}
return result;
}