tokenizeCard method

  1. @override
Future<Result> tokenizeCard(
  1. Tokenization tokenization
)
override

Method used to tokenize credit card with Tpay UI Module

Implementation

@override
Future<Result> tokenizeCard(Tokenization tokenization) async {
  final result = await methodChannel.invokeMethod(tokenizeCardMethod, jsonEncode(tokenization));

  return mapResult(result);
}