Annotation constructor
const
Annotation({
- required String id,
- @Default(null) String? author,
- @Default(null) int? created,
- @Default(null) int? modified,
- @Default(null) String? text,
- @Default({}) Map<
String, String> markdown, - @Default(null) String? location,
- @Default(null) bool? confidential,
- @Default({}) Set<
CodeStub> tags, - @Default(null) String? encryptedSelf,
Implementation
const factory Annotation({
required String id,
@Default(null) String? author,
@Default(null) int? created,
@Default(null) int? modified,
@Default(null) String? text,
@Default({}) Map<String, String> markdown,
@Default(null) String? location,
@Default(null) bool? confidential,
@Default({}) Set<CodeStub> tags,
@Default(null) String? encryptedSelf,
}) = _Annotation;