content property

  1. @override
String get content
override

Store the content that will be written to the file in a String or Future

Implementation

@override
String get content => '''$_import
import 'package:${PubspecUtils.projectName}/$_controllerDir';

class $_bindingName extends Bindings {
@override
void dependencies() {
  Get.lazyPut<${_fileName.pascalCase}Controller>(
    () => ${_fileName.pascalCase}Controller(),
  );
}
}
''';