TemplateFile.fromMap constructor

TemplateFile.fromMap(
  1. Map map
)

Creates a template file configuration from the provided map.

Implementation

factory TemplateFile.fromMap(Map<dynamic, dynamic> map) {
  return TemplateFile(
    template: map['template'] as String,
    output: map['output'] as String,
  );
}