SquadronService class

Annotation for service classes to be wrapped as workers.

Constructors

SquadronService({bool pool = true, bool vm = true, bool web = true, String baseUrl = ''})
const

Properties

baseUrl String
For Web-based workers, indicates the baseUrl where the Web Worker will be exposed in production.
final
hashCode int
The hash code for this object.
no setterinherited
pool bool
Controls code generation of a WorkerPool exposing the target service class. true by default.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vm bool
Controls code generation of a native entry point (for Isolate). true by default.
final
web bool
Controls code generation of a Web entry point (for Web Worker). true by default.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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