configure method

  1. @override
Future<Result> configure(
  1. TpayConfiguration configuration
)
override

Method used to configure Tpay UI Module Returns ConfigurationSuccess when successful.

Implementation

@override
Future<Result> configure(TpayConfiguration configuration) async {
  final result = await methodChannel.invokeMethod(configureMethod, jsonEncode(configuration));

  return mapResult(result);
}