claude refactorings, flutter best practices, platform dependent changes, general cleanup

This commit is contained in:
2026-05-06 11:58:50 +02:00
parent 4b1d4379a0
commit 4e1272aba9
281 changed files with 1948 additions and 1041 deletions
@@ -0,0 +1,30 @@
import 'package:json_annotation/json_annotation.dart';
part 'autocomplete_response.g.dart';
@JsonSerializable(explicitToJson: true)
class AutocompleteResponse {
List<AutocompleteResponseObject> data;
AutocompleteResponse(this.data);
factory AutocompleteResponse.fromJson(Map<String, dynamic> json) => _$AutocompleteResponseFromJson(json);
Map<String, dynamic> toJson() => _$AutocompleteResponseToJson(this);
}
@JsonSerializable()
class AutocompleteResponseObject {
String id;
String label;
String? icon;
String? source;
String? status;
String? subline;
String? shareWithDisplayNameUniqe;
AutocompleteResponseObject(this.id, this.label, this.icon, this.source, this.status,
this.subline, this.shareWithDisplayNameUniqe);
factory AutocompleteResponseObject.fromJson(Map<String, dynamic> json) => _$AutocompleteResponseObjectFromJson(json);
Map<String, dynamic> toJson() => _$AutocompleteResponseObjectToJson(this);
}