Name constructor

const Name(
  1. String name,
  2. [Map<Locale, String>? localizedNames]
)

Create a new Name.

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

Implementation

const Name(this.name, [this.localizedNames]);