deserializeJsonResponse function

dynamic deserializeJsonResponse(
  1. dynamic result
)

Implementation

dynamic deserializeJsonResponse(dynamic result) {
  return switch (result) {
    Iterable iterable => iterable.map(deserializeJsonResponse),
    Map object => _deserializeJsonObject(object),
    _ => result,
  };
}