mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-24 19:56:37 +00:00

`ImageWriterService` currently has two responsibilities. It contains logic to start and manage a flash process, and provides an API to interact with the current flash state. To honour the single responsibility principle, we extract `FlashStateModel` from `ImageWriterService`. Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>