createToken method
Future<Map?>
createToken({
- required String name,
- required String creditNumber,
- required String cvv,
- required String expiryDate,
- 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);
}