toCbor method

List<int> toCbor()
inherited

Serialize command to CBOR bytes

Implementation

List<int> toCbor() {
  final map = toMap();
  return cborEncode(CborValues.toCbor(map));
}