PooledInstance class abstract

Subclass this type in order to define data transfered to isalte pool and logic executed upon object being transfered to external isolate ([init method)

Constructors

PooledInstance()

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

callRemoteMethod<R>(Action action) Future<R>
init() Future
This method is called in isolate whenever a pool receives a request to create a pooled instance
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
receiveRemoteCall(Action action) Future
Overide this method to respond to actions, typically a switch statement is used to route specific actions to code bracnhes or handlers
toString() String
A string representation of this object.
inherited

Operators

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