fix an exception in the outline view

@umop, fix an exception in the outline view for Dart files with no content.
To me personally, returns from the middle of a function, especially done using a 1-line `if`, deserve blank lines around.