Datamodel enum from JSON factory constructor.
factory DatamodelEnum.fromJson(Map<String, dynamic> json) => _$DatamodelEnumFromJson(json);