toDelta method

  1. @override
Delta toDelta()
override

Returns Delta representation of this node.

Implementation

@override
Delta toDelta() => children.map((child) => child.toDelta()).fold(Delta(), (a, b) => a.concat(b));