bc7feacec6
The logic here was bad, assuming we didn't need a trailing comma when inserting an arg before a solo argument (which can happen for child/children). Fixes https://github.com/flutter/devtools/issues/8921 Change-Id: I38f9003cdc8b499d6417cac7989c65a4760416a6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/411140 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Elliott Brooks <elliottbrooks@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>