parseResponse method
Parse the response bytes from the device.
Implementation
@override
VtjCommandResult<EnterDfuBootloaderResult> parseResponse(Uint8List response) {
final result = EnterDfuBootloaderResult.fromBytes(response);
return result.when(
success: () => VtjCommandResult.success(const EnterDfuBootloaderResult.success()),
failure: (message, code) => VtjCommandResult.failure(message, code),
);
}