Note constructor

Note({
  1. required String id,
  2. String? provider,
  3. String? accountId,
  4. String? ownerUserId,
  5. required String title,
  6. required String content,
  7. String? icon,
  8. String? coverImage,
  9. String? parentId,
  10. Map<String, Object> properties = const {},
  11. required bool archived,
  12. required DateTime createdAt,
  13. required DateTime updatedAt,
  14. String? lastEditedBy,
})

Returns a new Note instance.

Implementation

Note({
  required this.id,
  this.provider,
  this.accountId,
  this.ownerUserId,
  required this.title,
  required this.content,
  this.icon,
  this.coverImage,
  this.parentId,
  this.properties = const {},
  required this.archived,
  required this.createdAt,
  required this.updatedAt,
  this.lastEditedBy,
});