createSimpleMergeMessage static method

dynamic createSimpleMergeMessage({
  1. required List<String> msgIDList,
  2. required String title,
  3. required List<String> abstractList,
  4. required String compatibleText,
  5. List<String>? webMessageInstanceList,
})

Implementation

static createSimpleMergeMessage(
    {required List<String> msgIDList,
    required String title,
    required List<String> abstractList,
    required String compatibleText,
    List<String>? webMessageInstanceList}) {
  return {
    "elemType": 10,
    "type": "mergeMessage",
    "mergerElem": {
      "abstractList": abstractList,
      "title": title,
      "msgIDList": msgIDList,
      "compatibleText": compatibleText,
      "webMessageInstanceList": webMessageInstanceList ?? []
    }
  };
}