toJson method

Map<String, Object> toJson()

Implementation

Map<String, Object> toJson() => {
  'pubkey': pubkey,
  'dbSessions': dbSessions.map((e) => e.toJson()).toList(),
  'userId': userId,
};