The static side of ConditionInfo, so that new ConditionInfo({...}) works.
Naming the constructor separately keeps the published surface to what a caller needs: a way
to build one. The class behind it carries nothing else, but stating the shape here means the
implementation can change without the API following it.
The static side of ConditionInfo, so that
new ConditionInfo({...})works.Naming the constructor separately keeps the published surface to what a caller needs: a way to build one. The class behind it carries nothing else, but stating the shape here means the implementation can change without the API following it.