formateGroupAtInfoList static method

dynamic formateGroupAtInfoList(
  1. List groupAtInfoListJs
)

Implementation

static formateGroupAtInfoList(List groupAtInfoListJs) {
  final groupAtInfoList = [];
  for (var i = 0; i < groupAtInfoListJs.length; i++) {
    final atItem = jsToMap(groupAtInfoListJs[i]);
    final item = {
      "seq": (atItem['messageSequence']).toString(),
      "atType": atItem['atTypeArray'][0] // 这里返回的是一个Array我不懂了
    };
    groupAtInfoList.add(item);
  }
  return groupAtInfoList;
}