resolve method
Resolves template variables for the provided context.
Implementation
Map<String, dynamic> resolve(ModuleContext context) {
final variables = <String, dynamic>{
'projectName': context.config.projectName,
...context.options,
};
switch (context.module.name) {
case 'theme':
_resolveThemeVariables(variables);
break;
}
return variables;
}