ExtensionContext class
Per-extension context handed to LeonardExtension.initialize.
Auto-namespaces VM service extensions under
ext.exploration.<namespace>.<suffix>.
Constructors
- ExtensionContext({required String namespace})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerExtension(
String suffix, ExtensionHandler handler) → void - Register a VM service extension under this extension's namespace.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
buildExtensionMethodName(
String ns, String suffix) → String - Compose the fully-qualified VM service extension method name for a given namespace and suffix.