Map<String, Object?> toJson() => { 'id': id.toString(), 'checksum': checksum, 'up': up.toJson(), 'down': down.toJson(), };