A repository containing the examples from the worksheet and lecture.
lect17.dart- Code from the lecture.pract17.dart- Code from the worksheet.README.md- This file..gitignore- A file telling git to ignore certain files. You do not need to worry about this file for now.
Navigate to the directory containing the code with the cd command, for example:
cd ~/Documents/programming/week-17-dart-codeThen, run the code with the dart command, for example:
dart pract17.dartAuto-format your code (e.g., fix indentation and spacing) using the dart format command, for example:
dart format pract17.dartAnalyze to find issues with the code using the dart analyze command, for example:
dart analyze pract17.dartAnd finally, fix the automatically detected issues with the dart fix command, for example:
dart fix pract17.dart