TemplateContext constructor

const TemplateContext({
  1. Map<String, String> path = const {},
  2. Map<String, String> query = const {},
  3. Object? body,
  4. Map<String, Object?>? record,
  5. Map<String, Object?> extra = const {},
})

Creates a request-aware template context.

Implementation

const TemplateContext({
  this.path = const {},
  this.query = const {},
  this.body,
  this.record,
  this.extra = const {},
});