withSetting method

PrintTemplate withSetting(
  1. String key,
  2. dynamic value
)

The template with key set to value in its settings.

Implementation

PrintTemplate withSetting(String key, dynamic value) =>
    copyWith(settings: {...settings, key: value});