From 057375e498d706b181c221f4eaa7df7010dea5b5 Mon Sep 17 00:00:00 2001 From: Dasha Date: Wed, 4 Dec 2024 01:02:56 +0400 Subject: [PATCH] lab6 done --- lib/components/utils/debounce.dart | 2 +- lib/data/dtos/cats_dto.dart | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/components/utils/debounce.dart b/lib/components/utils/debounce.dart index b4e1f35..a523827 100644 --- a/lib/components/utils/debounce.dart +++ b/lib/components/utils/debounce.dart @@ -12,7 +12,7 @@ class Debounce { static void run ( VoidCallback action, { - Duration delay = const Duration(milliseconds: 500), + Duration delay = const Duration(milliseconds: 5000), }) { _timer?.cancel(); _timer = Timer(delay, action); diff --git a/lib/data/dtos/cats_dto.dart b/lib/data/dtos/cats_dto.dart index 71045db..375b949 100644 --- a/lib/data/dtos/cats_dto.dart +++ b/lib/data/dtos/cats_dto.dart @@ -13,7 +13,6 @@ class CatsDto { @JsonSerializable(createToJson: false) class CatDataDto { - final String? id; @JsonKey(name: 'image_link') final String? imageLink; final String? name;