tokenize method
Implementation
Future<PECard> tokenize(String merchantId) async {
try {
final jsonString = await formController.tokenize(merchantId);
print(jsonString);
final json = jsonDecode(jsonString);
return PECard.fromJson(json);
} catch (e) {
print(e);
throw Exception('Failed to tokenize card: $e');
}
}