Code constructor

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

Implementation

Code(
	this.id,
	{
		int? level,
		String? rev,
		int? deletionDate,
		String? context,
		String? type,
		String? code,
		String? version,
		Map<String, String>? label,
		String? author,
		Set<String>? regions,
		Set<Periodicity>? periodicity,
		Set<String>? links,
		Map<String, List<String>>? qualifiedLinks,
		Set<CodeFlag>? flags,
		Map<String, Set<String>>? searchTerms,
		String? data,
		Map<AppendixType, String>? appendices,
		bool? disabled
	}) : rev = rev ?? null,
	deletionDate = deletionDate ?? null,
	context = context ?? null,
	type = type ?? null,
	code = code ?? null,
	version = version ?? null,
	label = label ?? null,
	author = author ?? null,
	regions = regions ?? {},
	periodicity = periodicity ?? {},
	links = links ?? {},
	qualifiedLinks = qualifiedLinks ?? {},
	flags = flags ?? {},
	searchTerms = searchTerms ?? {},
	data = data ?? null,
	appendices = appendices ?? {},
	disabled = disabled ?? false,
	_level = level ?? null;