menu
knt_isolate package
documentation
knt_isolate.dart
KntIsolateEvent class
KntIsolateEvent class
dark_mode
light_mode
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 setter
inherited
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 setter
inherited
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
knt_isolate package
documentation
knt_isolate
KntIsolateEvent class
knt_isolate library