Declaration model for value constructors, for example

    class Currency {
        "The US Dollar"
        shared new usd {}
        // ...
    }

    ValueConstructorDeclaration dollars = `new Currency.usd`;

See also `CallableConstructorDeclaration`
Since 1.2.0

no type hierarchy

- `ValueConstructorDeclaration`
  - `ConstructorDeclaration`
    - `NestableDeclaration`
      - `AnnotatedDeclaration`
        - `Annotated`
        - `Declaration`
      - `TypedDeclaration`
  - `GettableDeclaration`

no subtypes hierarchy

Attributes
`container` | Source Code `shared formal ClassDeclaration container` The class this constructor constructs Refines `NestableDeclaration.container`

Inherited Attributes
Attributes inherited from: `Object` `hash`, `string`
Attributes inherited from: `Declaration` `name`, `qualifiedName`
Attributes inherited from: `NestableDeclaration` `actual`, `container`, `containingModule`, `containingPackage`, `default`, `formal`, `shared`, `toplevel`
Attributes inherited from: `TypedDeclaration` `openType`

Methods
`apply` | Source Code `shared formal ValueConstructor<Result> apply<Result = Anything>()` Apply the given closed type argument to this toplevel value constructor to obtain as value constructor model.
`get` | Source Code `shared actual default Object get()` Reads the current value of this toplevel value. Refines `GettableDeclaration.get`
`memberApply` | Source Code `shared formal MemberClassValueConstructor<Container,Result> memberApply<Container = Nothing, Result = Anything>(Type<Object> containerType)` Apply the given closed type argument to this member value constructor to obtain as value constructor model.
`memberGet` | Source Code `shared actual default Object memberGet(Object container)` Reads the current value of this attribute on the given container instance. Throws `IncompatibleTypeException` If the specified container is not compatible with this attribute. `StorageException` If this attribute is not stored at runtime, for example if it is neither shared nor captured. Refines `GettableDeclaration.memberGet`

Inherited Methods
Methods inherited from: `Object` `equals()`
Methods inherited from: `Annotated` `annotated()`
Methods inherited from: `AnnotatedDeclaration` `annotations()`
Methods inherited from: `GettableDeclaration` `get()`, `memberGet()`