EmbedLiteral constructor

const EmbedLiteral(
  1. String path, {
  2. List<Preprocessor> preprocessors = const [Preprocessor.recase, Preprocessor.escapeReservedKeywords],
})

Creates an annotation for embedding a structured data as a dart object.

Implementation

const EmbedLiteral(
  super.path, {
  this.preprocessors = const [
    Preprocessor.recase,
    Preprocessor.escapeReservedKeywords,
  ],
}) : super._();