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 'package:mega_commons_dependencies/mega_commons_dependencies.dart';

import '../controllers/${_fileName}_controller.dart';

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