initPaymentSession method
Initializes the payment sheet with the provided params
.
Throws an UnimplementedError if the method is not implemented.
Implementation
@override
Future<Map<String, dynamic>?> initPaymentSession(
Map<String, dynamic> params) async {
final result = await methodChannel.invokeMethod<Map<dynamic, dynamic>>(
'initPaymentSession', {"params": params});
if (result != null) {
final Map<String, dynamic> resultMap = Map<String, dynamic>.from(result);
return resultMap;
}
return null;
}