packIntoAny method

Any packIntoAny()

Packs this message into an Any message.

Implementation

Any packIntoAny() => switch (this) {
      final Any any => any,
      final AnyMixin anotherAny => Any()..mergeFromMessage(anotherAny),
      _ => Any.pack(this),
    };