Summary constructor Null safety

const Summary(
  1. String text
)

Create an annotation to provide a short description of a class.

Implementation

const Summary(this.text) : assert(text != null);