Command.CommandInteger constructor

Command.CommandInteger({
  1. required int command,
})

Implementation

factory Command.CommandInteger({required int command}) {
  return Command(
    id: command & 0x7,
    count: command >> 3,
  );
}