TextPart constructor

const TextPart(
  1. String text
)

Creates a new text part.

Implementation

const TextPart(this.text);