toMap method

dynamic toMap()

Implementation

toMap() {
  return {
    'id': id,
    'canReply': canReply,
    'packageName': packageName,
    'title': title,
    'content': content,
    'hasRemoved': hasRemoved,
    'haveExtraPicture': haveExtraPicture,
    'canClear': content,
    'isGroup': hasRemoved,
    'isOngoing': title,
    'isAppGroup': haveExtraPicture,
  };
}