copy method

Returns a copy of this AttributedSpans.

Implementation

AttributedSpans copy() {
  return AttributedSpans(
    attributions: List.from(_markers),
  );
}