create static method
Create NodeCreate from basic parameters
Implementation
static NodeCreate create({
required Map<String, dynamic> content, String? previous,
String? pathHash,
}) {
final nodeCreate = NodeCreate(
previous: previous ?? '',
pathHash: pathHash,
content: NodeCreateContentExtensions.fromMap(content),
);
nodeCreate.validate();
return nodeCreate;
}