DtdService class
Manages the DTD connection and service registration for source navigation.
Constructors
- DtdService({required GoToSourceCallback onGoToSource})
-
Creates a DTD service that calls
onGoToSourcewhen arohd.goToSourcerequest arrives.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isConnected → bool
-
Whether the DTD connection is active.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connect(
String uri) → Future< bool> -
Connect to the DTD at
uriand register therohd.goToSourceservice. -
dispose(
) → Future< void> - Disconnect from DTD and clean up.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited