Block class sealed

A block-level Markdown node.

Blocks are immutable and have value equality (ignoring id). While a document is streaming, at most one top-level block is open (isOpen is true): it may still change on the next chunk. Every other block is final and the very same object is returned from every later snapshot, so UI code can skip rebuilding it by identity.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → int
An identifier that is stable across snapshots and unique among siblings.
final
isOpen → bool
Whether this block may still change as more input arrives.
final
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
toString() → String
A string representation of this object.
inherited

Operators

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