VMServiceHandler class

Constructors

VMServiceHandler({required Directory root, required String serverFile, required Future<MetaServer?> codeGenerator([void (String)?]), required Logger logger, required bool canHotReload, DartDefine dartDefine = const DartDefine(), String dartVmServicePort = '8080'})

Properties

canHotReload bool
final
codeGenerator Future<MetaServer?> Function([void (String)?])
final
dartDefine DartDefine
final
dartVmServicePort String
final
exitCode Future<int>
no setter
hashCode int
The hash code for this object.
no setterinherited
isCompleted bool
no setter
isInputWatching bool
no setter
isServerRunning bool
no setter
isWatching bool
no setter
logger → Logger
final
root → Directory
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverFile String
final

Methods

clearConsole() → void
lockInput() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printInputCommands() → void
printParsedRoutes(List<MetaRoute>? routes0) → void
printVmServiceUri() → void
serve({required bool enableHotReload, void onReady()?}) Future<void>
shouldReload(WatchEvent event) Future<(bool, String)>
start({required bool enableHotReload}) Future<void>
stop([int exitCode = 0]) Future<void>
toString() String
A string representation of this object.
inherited
unlockInput() → void
watchForFileChanges() → void
watchForInput() → void

Operators

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