json property

Object? get json

The body decoded as JSON; throws a FormatException when it is not JSON.

Implementation

Object? get json => jsonDecode(bodyText);