Annotation constructor

Annotation(
  1. String id, {
  2. String? author,
  3. int? created,
  4. int? modified,
  5. String? text,
  6. Map<String, String>? markdown,
  7. String? location,
  8. bool? confidential,
  9. Set<CodeStub>? tags,
  10. String? encryptedSelf,
})

Implementation

Annotation(
	this.id,
	{
		String? author,
		int? created,
		int? modified,
		String? text,
		Map<String, String>? markdown,
		String? location,
		bool? confidential,
		Set<CodeStub>? tags,
		String? encryptedSelf
	}) : author = author ?? null,
	created = created ?? null,
	modified = modified ?? null,
	text = text ?? null,
	markdown = markdown ?? {},
	location = location ?? null,
	confidential = confidential ?? null,
	tags = tags ?? {},
	encryptedSelf = encryptedSelf ?? null;