utils/pubspec_sorter library

Functions

sortPubspec(String content) → String
Sorts pubspec.yaml content into the standard key order and sorts the packages inside dependency sections alphabetically.