Document({ required this.content, required String nodeType, required Map<dynamic, dynamic> data, }) : _nodeType = BLOCKS.fromValue(nodeType) ?? BLOCKS.DOCUMENT { this.data = data; }