FunctionProxy constructor

FunctionProxy(
  1. Function? target, {
  2. int timeout = 0,
})

Creates a FunctionProxy with the specified target function and timeout.

timeout defaults to 0 milliseconds if not specified.

Implementation

FunctionProxy(this.target, {this.timeout = 0});