TextRecord constructor

TextRecord({
  1. TextEncoding encoding = TextEncoding.UTF8,
  2. String? language,
  3. String? text,
})

Implementation

TextRecord(
    {TextEncoding encoding = TextEncoding.UTF8,
    String? language,
    String? text}) {
  this.encoding = encoding;
  if (language != null) {
    this.language = language;
  }
  this.text = text;
}