createToken method

  1. @override
Future<Map?> createToken({
  1. required String name,
  2. required String creditNumber,
  3. required String cvv,
  4. required String expiryDate,
  5. String? scope,
})
override

Implementation

@override
Future<Map<dynamic,dynamic>?> createToken({required String name, required String creditNumber, required String cvv, required String expiryDate, String? scope}) {
  final Map<String, dynamic> arguments = {
    'name': name,
    'creditCard': creditNumber,
    'cvv': cvv,
    'expirationDate': expiryDate,
    'scope': scope,
  };
  return methodChannel.invokeMapMethod('createToken', arguments);
}