VmServiceInfoFileUtils mixin

A mixin providing some utility functions for working with vm-service-info files such as ensuring a temp folder exists to create them in, and waiting for the file to become valid parsable JSON.

Superclass constraints

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

generateVmServiceInfoFile() File
Creates a temp folder for the VM to write the service-info-file into and returns the File to use.
normalizePath(String filePath) String
Normalizes filePath to avoid issues with different casing of drive letters on Windows.
inherited
normalizeUri(Uri uri) Uri
Normalizes a Uri via normalizePath.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
waitForVmServiceInfoFile(Logger? logger, File vmServiceInfoFile) Future<Uri>
Waits for vmServiceInfoFile to exist and become valid before returning the VM Service URI contained within.

Operators

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