dartComments


Syntax

  • // Single-line comment
  • /* Multi-line/In-line comment */
  • /// Dartdoc comment

Remarks

It is good practice to add comments to your code to explain why something is done or to explain what something does. This helps any future readers of your code to more easily understand your code.

Related topic(s) not on StackOverflow: