Runner class

Calls a function with an argument.

The function can be run in a different place from where the Runner resides, e.g., in a different isolate.

Implementers

Constructors

Runner()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Stop the runner.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run<R, P>(FutureOr<R> function(P argument), P argument, {Duration? timeout, FutureOr<R> onTimeout()?}) Future<R>
Request that function be called with the provided arguments.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited