presentPaymentSheet method
Implementation
@override
Future<Map<String, dynamic>> presentPaymentSheet({
required String productId,
String? userId,
required int freeTrialDays,
bool dismissible = true,
}) async {
final result = await methodChannel.invokeMethod<Map>('presentPaymentSheet', {
'productId': productId,
'userId': userId,
'freeTrialDays': freeTrialDays,
'dismissible': dismissible,
});
return Map<String, dynamic>.from(result!);
}