Printer<T>.literal constructor

const Printer<T>.literal([
  1. String value
])

Constructs a printer that emits a literal value.

Implementation

const factory Printer.literal([String value]) = LiteralPrinter<T>;