TextDocument class

Text document representation

Constructors

TextDocument({required VSCodeUri uri, required String fileName, required bool isUntitled, required String languageId, required int version, required bool isDirty, required bool isClosed, required int lineCount})
TextDocument.fromJson(Map<String, dynamic> json)
factory

Properties

fileName → String
final
hashCode → int
The hash code for this object.
no setterinherited
isClosed → bool
final
isDirty → bool
final
isUntitled → bool
final
languageId → String
final
lineCount → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uri → VSCodeUri
final
version → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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