Map<String, Object?> toJson() => { 'id': locked.id.value, 'location': location, 'has_mirror': hasMirror, 'has_package': hasPackage, };