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
$_importModelPath
class ${_fileName.pascalCase}Provider extends GetConnect {
@override
void onInit() {
$_defaultEncoder httpClient.baseUrl = 'YOUR-API-URL';
}
$_defaultEndpoint}
''';