json<T> method

T json<T>()

UTF-8 응답 본문을 JSON으로 디코딩해 T로 반환한다.

Implementation

T json<T>() => jsonDecode(utf8.decode(bodyBytes)) as T;