update doc

This commit is contained in:
krawieck 2020-09-22 16:39:02 +02:00
parent a675377378
commit 22eaa6cade
1 changed files with 2 additions and 3 deletions

View File

@ -17,9 +17,8 @@ class Debounce {
});
}
/// When loading is [.start()]ed, it goes into a pending state
/// and loading is triggered after [delayDuration].
/// Everything can be reset with [.cancel()]
/// will run `callback()` after debounce hook hasn't been called for the
/// specified `delayDuration`
Debounce useDebounce(
Future<Null> Function() callback, [
Duration delayDuration = const Duration(milliseconds: 500),