sdkRun method

  1. @override
Future<EcmpPluginResult?> sdkRun(
  1. EcmpPaymentOptions options
)
override

Implementation

@override
Future<EcmpPluginResult?> sdkRun(EcmpPaymentOptions options) async {
  final responseJson =
      await methodChannel.invokeMethod<String>('sdkRun', jsonEncode(options));
  return responseJson != null
      ? EcmpPluginResult.fromJson(jsonDecode(responseJson))
      : null;
}