Block class

Represents blocks of statements of Dart code.

Implemented types

Constructors

Block([void updates(BlockBuilder)])
factory
Block.of(Iterable<Code> statements)
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
statements BuiltList<Code>
read-only

Methods

accept<R>(covariant CodeVisitor<R> visitor, [R context]) → R
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
rebuild(dynamic updates(BlockBuilder)) Block
Rebuilds the instance. [...]
inherited
toBuilder() BlockBuilder
Converts the instance to a builder B. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited