compileProtoFile function
Implementation
Future<bool> compileProtoFile({
required String protoFile,
required String outPutPath,
String workingDirectory = '',
}) async {
return await executeCommand(
verbose: true,
command: 'protoc --dart_out=grpc:$outPutPath -Iprotos $protoFile',
workingDirectory: workingDirectory,
throwOnError: true,
);
}