Debounce<T> extension

on
  • T? Function()

Methods

debounce({String? tag, Duration duration = const Duration(seconds: 1)}) → void

Available on T? Function(), provided by the Debounce extension

Debounces the execution of the function. If the function is called multiple times within the specified duration, it will only be executed once after the duration has passed since the last call.