replaceStory method
Implementation
@override
ConnectorElement replaceStory(TextStory story) => owner.copyWith(
labels: [
for (final sibling in owner.labels)
sibling.id == label.id ? sibling.copyWith(story: story) : sibling,
],
);
@override
ConnectorElement replaceStory(TextStory story) => owner.copyWith(
labels: [
for (final sibling in owner.labels)
sibling.id == label.id ? sibling.copyWith(story: story) : sibling,
],
);