DVDocsBlock class sealed

A block of a page. Five of them, and the application draws each one; a sixth is a change to both sides of the payload.

Constructors

DVDocsBlock.fromJson(Map<String, Object?> json)
factory

Properties

anchor → String?
The name a link may point at this block by, or null.
no setter
hashCode → int
The hash code for this object.
no setterinherited
kind → String
What this block is called in the document.
no setter
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?>
What this block is on the wire. Every kind writes its own shape.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

plain(List<DVDocsSpan> spans) → String
The text of spans, as one string. For tests, and for a page's own search index.

Constants

codeKind → const String
headingKind → const String
listKind → const String
paragraphKind → const String
tableKind → const String