Update code to reflect the Dart style guide.
Update code formatting to reflect the Dart style guide.
Doc updates for the patterns