ListBlock class final

An ordered or unordered list.

Inheritance

Constructors

ListBlock({required int id, required bool isOpen, required bool ordered, required int start, required List<ListItem> items})
Creates a list.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
id → int
An identifier that is stable across snapshots and unique among siblings.
finalinherited
isOpen → bool
Whether this block may still change as more input arrives.
finalinherited
items → List<ListItem>
The list items. All but the last are final while streaming.
final
ordered → bool
Whether the list is numbered.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
start → int
The number of the first item (only meaningful when ordered).
final

Methods

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

Operators

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