asMap method
The function returns a map with a key and value based on the promotion identifier key and value.
Implementation
Map asMap() => {
'key': key.promotionIdentifierKeyAsString(),
'value': value,
};
The function returns a map with a key and value based on the promotion identifier key and value.
Map asMap() => {
'key': key.promotionIdentifierKeyAsString(),
'value': value,
};