content property
Store the content that will be written to the file in a String or Future String in that variable. It is used to fill the file created by path.
Implementation
@override
String get content => '''$_import
import 'package:${PubspecUtils.projectName}/$_controllerDir';
class $_bindingName extends Bindings {
@override
void dependencies() {
if(!Get.isRegistered<${_fileName.pascalCase}Controller>(tag: tag)) {
Get.put(${_fileName.pascalCase}Controller(),tag: tag);
}
}
}
''';