JetProperty constructor
Base class for all Jet framework configuration properties.
A JetProperty defines a typed configuration entry used within JetLeaf and related Jet-based frameworks. Each property has:
- A unique key used for lookup in the environment.
- An optional value when the property is not set.
- An optional description to document its purpose.
Properties are strongly typed using generics. For example:
const JetProperty serverPort = JetProperty("server.port", 8080, "The TCP port the server will bind to.");
Jet also supports user-defined properties via JetProperty.custom.
Implementation
const JetProperty(this.key, this.value, [this.description]);