PdfString.fromString constructor

PdfString.fromString(
  1. String value, {
  2. bool encrypted = true,
})

Implementation

factory PdfString.fromString(
  String value, {
  bool encrypted = true,
}) {
  return PdfString(_string(value),
      format: PdfStringFormat.literal, encrypted: encrypted);
}