raw static method

GraphQLResponse<String?> raw({
  1. required String? data,
  2. List<GraphQLResponseError>? errors,
})

Implementation

static GraphQLResponse<String?> raw({
  required String? data,
  List<GraphQLResponseError>? errors,
}) {
  return GraphQLResponse(
    data: data,
    errors: errors ?? const [],
  );
}