getPatchUri static method

Uri getPatchUri({
  1. required String path,
  2. QueryType? queryType,
})

Implementation

static Uri getPatchUri({
  required final String path,
  final QueryType? queryType,
}) =>
    getUri(
      path: path,
      queryType: queryType,
      addUserAgentParameters: false,
      userInfo:
          OpenFoodAPIConfiguration.getQueryType(queryType) == QueryType.PROD
              ? null
              : HttpHelper.userInfoForTest,
    );