Wire form: a single-key object tagging the variant.
@override Map<String, dynamic> toWire() => {'CommandSubmit': submit.toWire()};