toDelta method
Returns Delta
representation of this node.
Implementation
@override
Delta toDelta() {
// Line nodes take care of incorporating block style into their delta.
return children
.map((child) => child.toDelta())
.fold(Delta(), (a, b) => a.concat(b));
}