toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'sessionType':
        NIMSessionTypeConverter(sessionType: sessionType).toValue(),
    'fromAccount': fromAccount,
    'toAccount': toAccount,
    'time': time,
    'serverId': serverId,
    'uuid': uuid,
  };
}