pullChanges method

Future<Response> pullChanges({
  1. Map<String, dynamic>? pullOptions,
})

Pull changes from the remote repository

Implementation

Future<Response> pullChanges({Map<String, dynamic>? pullOptions}) async {
  try {
    final response = await _dio.post(
      '/source-control/pull',
      data: pullOptions,
    );
    return response;
  } on DioException catch (e) {
    throw Exception('Failed to pull changes: ${e.message}');
  }
}