Comment constructor

Comment(
  1. String text, {
  2. String? author,
})

Creates a comment with the given text and optional author.

Implementation

Comment(this.text, {this.author});