toKValues method

  1. @override
Map<String, dynamic> toKValues()

转换为用字符串key读取字段值的Map

Implementation

@override
Map<String, dynamic> toKValues() {
  return {
    '_id': _id,
    '_bsid': _bsid,
    '_time': _time,
    '_extra': _extra,
    '_trans': _trans,
    'uid': uid,
    'sid': sid,
    'rid': rid,
    'fid': fid,
    'from': from,
    'state': state,
    'apply': apply,
    'alias': alias,
    'dialog': dialog,
    'notice': notice,
    'top': top,
    'unread': unread,
    'recent': recent,
    'update': update,
    'active': active,
  };
}