How to publish a private package
Packages are published using command-line tools.
# install onepub
dart pub global activate onepub
# login to one pub
# cd into the directory of the package you want to publish
# enable private publishing for your package
onepub pub private
# publish the package to onepub using the standard dart publish command.
dart pub publish