KText constructor

KText(
  1. KNodeType type,
  2. String content
)

Creates a node of type with content.

Implementation

KText(this.type, this.content);