newTemplate method
Creates an Template object with optional params
.
Implementation
TransloaditTemplate newTemplate(
{required String name, Map<String, dynamic>? params}) {
params = params ?? {};
return TransloaditTemplate(name: name, options: params, client: this);
}