encode static method
Implementation
static Map<String, dynamic> encode(Annotation value) {
Map<String, dynamic> entityAsMap = {
"id" : value.id,
"author" : value.author,
"created" : value.created,
"modified" : value.modified,
"text" : value.text,
"markdown" : value.markdown.map((k0, v0) => MapEntry(k0, v0)),
"location" : value.location,
"confidential" : value.confidential,
"tags" : value.tags.map((x0) => CodeStub.encode(x0)).toList(),
"encryptedSelf" : value.encryptedSelf
};
return entityAsMap;
}