993d9705e0
When an 'if' statement is always true and is replaced by its block content, we now correctly extract and unindent the block's text. The new `_blockContents` method ensures that leading newlines and trailing indentation from the closing brace are handled correctly, preventing extra indentation in the resulting code. Change-Id: I14741062265086e08d450b3c89bcd430767ece82 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/478201 Reviewed-by: Samuel Rawlins <srawlins@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>