In preparation of https://github.com/svthalia/concrexit/issues/3133, it would be nice if the app already supports getting no rotation in photo responses from the API. For now, rotation can just get 0 by default if not specified. Once concrexit does rotation internally, rotation can be dropped altogether, but this way we won't have incompatibility issues.
Why
Because rotation as it is right now is messy.
How
Set a default on the model (with a jsonKey decorator I guess)
What
In preparation of https://github.com/svthalia/concrexit/issues/3133, it would be nice if the app already supports getting no rotation in photo responses from the API. For now, rotation can just get 0 by default if not specified. Once concrexit does rotation internally, rotation can be dropped altogether, but this way we won't have incompatibility issues.
Why
Because rotation as it is right now is messy.
How
Set a default on the model (with a jsonKey decorator I guess)