swapDirection method
void
swapDirection()
Implementation
void swapDirection() {
if (header.length < 5) return;
final Uint8List currentSource = Uint8List.fromList(header.sublist(3, 5));
header.setRange(3, 5, header.sublist(1, 3));
header.setRange(1, 3, currentSource);
}