parseProductionCSIDResponse function

ProductionCSIDResponse parseProductionCSIDResponse(
  1. int statusCode,
  2. String jsonStr
)

Utility function to parse a raw JSON string into a ProductionCSIDResponse.

  • statusCode: HTTP status code.
  • jsonStr: JSON response string.

Implementation

ProductionCSIDResponse parseProductionCSIDResponse(
    int statusCode, String jsonStr) {
  return ProductionCSIDResponse.fromJson(statusCode, jsonDecode(jsonStr));
}