Note class
Constructors
Note ({required String id , String ? provider , String ? accountId , String ? ownerUserId , required String title , required String content , String ? icon , String ? coverImage , String ? parentId , Map <String , Object > properties = const {} , required bool archived , required DateTime createdAt , required DateTime updatedAt , String ? lastEditedBy })
Returns a new Note instance.
Properties
accountId
↔ String ?
Connected-account row this note belongs to.
getter/setter pair
archived
↔ bool
getter/setter pair
content
↔ String
Markdown body. The block tree at /v1/notes/{id}/blocks is the canonical structured representation; content is a flattened markdown view kept for clients that don't render blocks.
getter/setter pair
coverImage
↔ String ?
URL of the note's cover image.
getter/setter pair
createdAt
↔ DateTime
getter/setter pair
hashCode
→ int
The hash code for this object.
no setter override
icon
↔ String ?
Emoji or short string used as the note's icon.
getter/setter pair
id
↔ String
Stable provider id for the note.
getter/setter pair
lastEditedBy
↔ String ?
User id of the most recent editor.
getter/setter pair
ownerUserId
↔ String ?
User id of the note's owner. Surfaced so the renderer can show "Shared with you" when ownerUserId differs from the viewer's id. Empty for non-native providers.
getter/setter pair
parentId
↔ String ?
Parent note id when notes are nested.
getter/setter pair
properties
↔ Map <String , Object >
Free-form provider-specific properties (tags, etc.).
getter/setter pair
provider
↔ String ?
Registered provider id (e.g. native-notes).
getter/setter pair
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
title
↔ String
getter/setter pair
updatedAt
↔ DateTime
getter/setter pair