hasActiveEntitlement method

  1. @override
Future<bool> hasActiveEntitlement({
  1. required String productId,
})
override

Implementation

@override
Future<bool> hasActiveEntitlement({required String productId}) async {
  final result = await methodChannel.invokeMethod<bool>('hasActiveEntitlement', {
    'productId': productId,
  });
  return result ?? false;
}