NodeCreateExtensions extension

Extensions for NodeCreate to add validation and helpers

on

Properties

validPrevious → String?

Available on NodeCreate, provided by the NodeCreateExtensions extension

Get previous as nullable (converts empty string to null)
no setter

Methods

validate() → void

Available on NodeCreate, provided by the NodeCreateExtensions extension

Validates NodeCreate

Static Methods

create({required Map<String, dynamic> content, String? previous, String? pathHash}) → NodeCreate

Available on NodeCreate, provided by the NodeCreateExtensions extension

Create NodeCreate from basic parameters