CodeDto constructor

CodeDto({
  1. required String id,
  2. String? rev,
  3. int? deletionDate,
  4. String? context,
  5. String? type,
  6. String? code,
  7. String? version,
  8. Map<String, String> label = const {},
  9. String? author,
  10. Set<String> regions = const {},
  11. Set<PeriodicityDto> periodicity = const {},
  12. int? level,
  13. Set<String> links = const {},
  14. Map<String, List<String>> qualifiedLinks = const {},
  15. Set<CodeDtoFlagsEnum> flags = const {},
  16. Map<String, Set<String>> searchTerms = const {},
  17. String? data,
  18. Map<String, String> appendices = const {},
  19. bool disabled = false,
})

Returns a new CodeDto instance.

Implementation

CodeDto({
  required this.id,
  this.rev,
  this.deletionDate,
  this.context,
  this.type,
  this.code,
  this.version,
  this.label = const {},
  this.author,
  this.regions = const {},
  this.periodicity = const {},
  this.level,
  this.links = const {},
  this.qualifiedLinks = const {},
  this.flags = const {},
  this.searchTerms = const {},
  this.data,
  this.appendices = const {},
  this.disabled = false,
});