This commit is contained in:
mertalev 2024-11-09 00:38:07 -05:00
parent 0010eda67f
commit e59912e16e
No known key found for this signature in database
GPG Key ID: CA85EF6600C9E8AD

View File

@ -1,5 +1,3 @@
import 'dart:async';
import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:flutter_hooks/flutter_hooks.dart';
/// Throttles function calls with the [interval] provided. /// Throttles function calls with the [interval] provided.
@ -17,6 +15,8 @@ class Throttler {
_lastActionTime = DateTime.now(); _lastActionTime = DateTime.now();
return response; return response;
} }
return null;
} }
void dispose() { void dispose() {