Note constructor
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.
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,
});