toDelta method

  1. @override
Delta toDelta()
override

Implementation

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