debounceNullary function
Wraps debounce so that it can be called without any arguments
Implementation
DebouncedNullaryFunction debounceNullary(void callback(), Duration delay) {
var function = debounce((_) => callback(), delay);
return () => function(null);
}