getServiceList function

String getServiceList()

Implementation

String getServiceList() {
  var content = "import 'package:grpc/grpc.dart' as grpc;"
      .add("import 'connection.dart';")
      .add(_importList)
      .add('')
      .add('List<grpc.Service> getServices() {')
      .add('  var list = <grpc.Service>[];')
      .add(_serviceList)
      .add('  return list;')
      .add('}');
  return content;
}