generate method
Generates the controller file.
Implementation
void generate(List<String> functionList) {
String fileName = '${NameHelper.toUnderscoreName(name)}.dart';
String code = getControllerCode(functionList);
FileGenerator().createFile(output, fileName, code);
}