Description constructor

const Description(
  1. String value,
  2. [Map<Locale, String>? localizedDescriptions]
)

Create a new Description.

This is intended to be used as an @Description(...) annotation, and has no functionality as a standalone class.

Implementation

const Description(this.value, [this.localizedDescriptions]);