factory constructor
Also written: factory
A constructor marked factory that returns an object instead of just filling in fields. It's an alternative way to write fromJson.
Also written: factory
A constructor marked factory that returns an object instead of just filling in fields. It's an alternative way to write fromJson.