initPaymentSheet method

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

Implementation

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