TemplateModule.fromMap constructor
TemplateModule.fromMap(
- Map map
Creates a template module from the provided map.
Implementation
factory TemplateModule.fromMap(Map<dynamic, dynamic> map) {
return TemplateModule(
description: map['description']?.toString() ?? '',
);
}