cleanJsonDecode method

dynamic cleanJsonDecode(
  1. String body
)

Implementation

cleanJsonDecode(String body) {
  try {
    return jsonDecode(body);
  } catch (_) {
    throw body;
  }
}