bodyJson property
dynamic
get
bodyJson
Decodes and returns the buffered body as JSON, or null if decoding fails.
Implementation
dynamic get bodyJson {
try {
return jsonDecode(bodyText);
} catch (_) {
return null;
}
}