FunctionProxy constructor

FunctionProxy(
  1. Function? target, {
  2. int? timeout,
  3. bool trailing = false,
  4. bool immediate = false,
  5. String? id,
})

Implementation

FunctionProxy(
  this.target, {
  int? timeout,
  this.trailing = false,
  this.immediate = false,
  this.id,
}) : timeout = timeout ?? 500;