Keyword constructor

const Keyword({
  1. required String id,
  2. @Default(null) String? rev,
  3. @Default(null) int? created,
  4. @Default(null) int? modified,
  5. @Default(null) String? author,
  6. @Default(null) String? responsible,
  7. @Default(null) String? medicalLocationId,
  8. @Default({}) Set<CodeStub> tags,
  9. @Default({}) Set<CodeStub> codes,
  10. @Default(null) int? endOfLife,
  11. @Default(null) int? deletionDate,
  12. @Default(null) String? value,
  13. @Default({}) Set<KeywordSubword> subWords,
  14. @Default(null) String? userId,
})

Implementation

const factory Keyword({
	required String id,
	@Default(null) String? rev,
	@Default(null) int? created,
	@Default(null) int? modified,
	@Default(null) String? author,
	@Default(null) String? responsible,
	@Default(null) String? medicalLocationId,
	@Default({}) Set<CodeStub> tags,
	@Default({}) Set<CodeStub> codes,
	@Default(null) int? endOfLife,
	@Default(null) int? deletionDate,
	@Default(null) String? value,
	@Default({}) Set<KeywordSubword> subWords,
	@Default(null) String? userId,
}) = _Keyword;