addMixinsTo method

void addMixinsTo(
  1. Set<PbMixin> output
)

Adds all mixins used in this message and any submessages.

Implementation

void addMixinsTo(Set<PbMixin> output) {
  if (mixin != null) {
    output.addAll(mixin!.findMixinsToApply());
  }
  for (final m in _messageGenerators) {
    m.addMixinsTo(output);
  }
}