NullExtensionClient class
A no-op RohdExtensionClient used when no extension is reachable.
isAvailable is always false, queryModule always returns
RohdModuleInfo.unavailable, and ping always returns false.
- Implemented types
Constructors
Properties
-
currentModuleInfo
→ ValueNotifier<
RohdModuleInfo?> -
The most recently fetched
RohdModuleInfo, ornullbefore the first queryModule call.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
isAvailable
→ ValueNotifier<
bool> -
Whether the ROHD extension is reachable.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
Release any resources held by this client.
override
-
lookupSignalFrames(
{required List< Map< signals, String? format}) → Future<String, String> >List< Map< >String, dynamic> > -
Look up source frames for
signalsvia the extension host.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openSourceLocation(
{required String file, required int line, int col = 0}) → void -
Open a specific source location in the editor.
override
-
ping(
) → Future< bool> -
Check whether the ROHD extension is running and reachable.
override
-
queryModule(
String module, {List< String> ? instancePath}) → Future<RohdModuleInfo> -
Query what source formats the extension has for
module.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited