attach method
attach Attaches additional contexts to the event
Implementation
@override
ScreenView attach({
required Set<SelfDescribingJson> contexts,
}) =>
ScreenView(
name: name,
type: type,
transitionType: transitionType,
previousName: previousName,
previousType: previousType,
contexts: this.contexts.union(contexts),
);