I've got the dart formatter running on my code, and for some reason it insists on the following formatting:
String get display => switch (type) {
ListType.star => 'Starred',
ListType.bookmark => 'Bookmarked',
ListType.custom => custom!,
};
That's three levels of indentation on the second line, which to my mind only requires a single one. What's going on? Is there a way to stop that in Visual Studio Code?

doesn't match the Dart formatter. So there is no point in even mentioning what is not acceptable for Google (I mean the alternative formatting method).