cd ~/dev/mypackage

Tell the documentation tool where the
    Flutter SDK is located (change the following commands to reflect
    where you placed it):

    
   export FLUTTER_ROOT=~/dev/flutter  # on macOS or Linux

   set FLUTTER_ROOT=~/dev/flutter     # on Windows

Run the dartdoc tool
    (included as part of the Flutter SDK), as follows:

    
   $FLUTTER_ROOT/bin/cache/dart-sdk/bin/dartdoc   # on macOS or Linux

   %FLUTTER_ROOT%\bin\cache\dart-sdk\bin\dartdoc  # on Windows

For tips on how to write API documentation, see
Effective Dart Documentation.

Adding licenses to the LICENSE file