Template.fromYaml constructor
Template.fromYaml(
- YamlMap map
Implementation
factory Template.fromYaml(YamlMap map) {
return Template(
source: map['source'] as String,
target: map['target'] as String,
);
}