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 => '''
class ${_fileName.pascalCase}Service {
 ${_fileName.pascalCase}Service._();
 static final _instance = ${_fileName.pascalCase}Service._();
 factory ${_fileName.pascalCase}Service() {
   return _instance;
 }
}
''';