presentPaymentSheet method

  1. @override
Future<Map<String, dynamic>?> presentPaymentSheet()
override

Implementation

@override
Future<Map<String, dynamic>?> presentPaymentSheet() async {
  final result = await methodChannel.invokeMethod<Map<dynamic, dynamic>>('presentPaymentSheet');
  if (result != null) {
    final Map<String, dynamic> resultMap = Map<String, dynamic>.from(result);
    return resultMap;
  }
  return null;
}