bodyJson property
dynamic
get
bodyJson
Returns the response body as a JSON object.
Implementation
dynamic get bodyJson {
try {
return jsonDecode(this.body);
} catch (_) {
return null;
}
}
Returns the response body as a JSON object.
dynamic get bodyJson {
try {
return jsonDecode(this.body);
} catch (_) {
return null;
}
}