toJson method
Implementation
Map<String, Object?> toJson() {
final data = _json ?? <String, Object?>{};
data['user_id'] = userId;
data['keys'] = keys;
if (signatures != null) {
data['signatures'] = signatures;
}
if (unsigned != null) {
data['unsigned'] = unsigned;
}
return data;
}