getModificationInfo method
Get the modification infos relative to flag (modification)
key : the name of the key relative to modification Return map {"campaignId":"xxx", "variationId" : "xxxx", "variationGroupId":"xxxxx", "isReference": true/false}
Implementation
Map<String, Object>? getModificationInfo(String key) {
if (this.modifications.containsKey(key)) {
try {
var modification = this.modifications[key];
return modification?.toJson();
} catch (exp) {
return null;
}
} else {
return null;
}
}