toImage method

The whole projection image (entries sorted by command id).

Implementation

CommandProjectionImage toImage() => CommandProjectionImage(
      generation: _generation,
      commands: _entries.values.toList()..sort((a, b) =>
          a.commandId.compareTo(b.commandId)),
    );