generateStateFile static method
Implementation
static generateStateFile(String className, String bPath) {
return '''
part of '$bPath';
@freezed
abstract class ${className}State with _\$${className}State {
const factory ${className}State({bool? isLoading}) = _${className}State;
factory ${className}State.initial() => ${className}State(isLoading: false);
}
''';
}