Projection.add constructor
Creates a Named Projection via Projection.parse and registers it to the ProjectionStore
.
If register was successfull then it can be accessed anytime with Projection factory constructor.
Warning: this can override even the predefined Projections!
Implementation
factory Projection.add(String code, String defString) {
var params = Projection.parse(defString);
return ProjectionStore().register(code, params);
}