PreviewPosition class sealed

一份文档里的位置。要么源码行,要么 DOM 路径,没有第三种。

Implementers
Annotations

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
写进模板载荷的形态(payload.restore)。
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

tryParse(Object? value) → PreviewPosition?
解析一条回执 / 一份旧记忆;认不出来返回 null(调用方按「没有地址」处理)。

Constants

top → const PreviewPosition
「从头」= 源码第 1 行(Markdown 专用)。