CustomDocument class
Represents a custom document used by a {@linkcode CustomEditorProvider}.
Custom documents are only used within a given CustomEditorProvider
. The lifecycle of a CustomDocument
is
managed by the editor. When no more references remain to a CustomDocument
, it is disposed of.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
- CustomDocument({Uri? uri, void dispose()?})
-
factory
Properties
- dispose ↔ void Function()
-
Available on CustomDocument, provided by the CustomDocument$Typings extension
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri → Uri
-
Available on CustomDocument, provided by the CustomDocument$Typings extension
The associated uri for this document.no setter
Methods
-
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