getMaskedValues method
Returns a Map of a payment product field id and the corresponding masked value
Implementation
Future<Map<String, String>> getMaskedValues() async {
final allMaskedValuesString = await PaymentRequestMasker.maskedValues(this);
if (allMaskedValuesString != null) {
final Map<String, String> allMaskedValuesMap =
Map.castFrom(json.decode(allMaskedValuesString));
return allMaskedValuesMap;
}
return <String, String>{};
}