attach method

  1. @override
ScreenView attach({
  1. required Set<SelfDescribingJson> contexts,
})
override

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),
    );