LightningRunner class
Constructors
- LightningRunner({bool watchDependencies = true, Duration debounceInterval = const Duration(seconds: 1), bool onBeforeReload(BeforeReloadContext ctx)?, void onAfterReload(AfterReloadContext ctx)?, void onDirectoryWatching(Directory directory)?, void onFileChange(File file)?, void onFileCreate(File file)?, void onFileDelete(File file)?})
Properties
- debounceInterval → Duration
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isWatching → bool
-
no setter
- onAfterReload → (void Function(AfterReloadContext ctx)?)
-
final
- onBeforeReload → (bool Function(BeforeReloadContext ctx)?)
-
final
- onDirectoryWatching → (void Function(Directory directory)?)
-
final
- onFileChange → (void Function(File file)?)
-
final
- onFileCreate → (void Function(File file)?)
-
final
- onFileDelete → (void Function(File file)?)
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- watchDependencies → bool
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reloadCode(
{bool force = false}) → Future< LightningResult> -
stop(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
-
watch(
) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited