TemplateEngine constructor

TemplateEngine({
  1. Random? random,
})

Creates a template engine with an optional random source.

Implementation

TemplateEngine({Random? random}) : _random = random ?? Random();