toBytes method
Implementation
Uint8List toBytes() {
final builder = BytesBuilder();
builder.add(zoneName.toBytes());
builder.add(zoneType.toBytes());
builder.add(zoneLedsMin.toBytes());
builder.add(zoneLedsMax.toBytes());
builder.add(zoneLedsCount.toBytes());
builder.add(zoneMatrixHeight.toBytes());
builder.add(zoneMatrixWidth.toBytes());
builder.add(zoneMatrix.toBytes());
return builder.toBytes();
}