feat(mobile): filter by tags (#26196)

filter by tags
This commit is contained in:
Benjamin Nguyen
2026-02-18 13:16:26 -08:00
committed by GitHub
parent 227ff70b6e
commit ae8dad68fc
9 changed files with 215 additions and 5 deletions

View File

@@ -0,0 +1,29 @@
import 'package:openapi/api.dart';
class Tag {
final String id;
final String value;
const Tag({required this.id, required this.value});
@override
String toString() {
return 'Tag(id: $id, value: $value)';
}
@override
bool operator ==(covariant Tag other) {
if (identical(this, other)) return true;
return other.id == id && other.value == value;
}
@override
int get hashCode {
return id.hashCode ^ value.hashCode;
}
static Tag fromDto(TagResponseDto dto) {
return Tag(id: dto.id, value: dto.value);
}
}