toWire method

  1. @override
Map<String, dynamic> toWire()
override

Wire form: a single-key object tagging the variant.

Implementation

@override
Map<String, dynamic> toWire() => {'CommandCancel': cancel.toWire()};