claude refactor

This commit is contained in:
2026-05-04 13:54:39 +02:00
parent 9973f12733
commit 551c1bf1fa
125 changed files with 4484 additions and 2544 deletions
@@ -8,7 +8,7 @@ import 'getChatResponse.dart';
class GetChatCache extends RequestCache<GetChatResponse> {
String chatToken;
GetChatCache({required onUpdate, required this.chatToken}) : super(RequestCache.cacheNothing, onUpdate) {
GetChatCache({required void Function(GetChatResponse) onUpdate, required this.chatToken}) : super(RequestCache.cacheNothing, onUpdate) {
start('nc-chat-$chatToken');
}
@@ -86,7 +86,7 @@ class GetChatResponseObject {
}
Map<String, RichObjectString>? _fromJson(json) {
Map<String, RichObjectString>? _fromJson(dynamic json) {
if(json is Map<String, dynamic>) {
var data = <String, RichObjectString>{};
for (var element in json.keys) {