Block.create constructor
Implementation
factory Block.create({
String? id,
required String content,
List<Block>? children,
bool? isCollapsed,
}) {
final now = DateTime.now();
return Block(
id: id ?? _uuid.v4(),
content: content,
children: children ?? [],
isCollapsed: isCollapsed ?? false,
createdAt: now,
updatedAt: now,
);
}