KntIsolateEvent class

Annotations
  • @immutable

Constructors

KntIsolateEvent({String name = '', bool ignored = false})
Every method inside a KntIsolate annotation will has a default KntIsolateEvent annotation, that mean all methods will be generated.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
ignored bool
Whether this method will be ignored when generating code in Backend but its name still be registered in Backend.initActions. Then you need to use class extension to implement your own event handler. For example:
final
name String
Custom name for Isolator Event, default is method's name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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