decodeAsNullableObject<T> method
Returns the JSON data decoded as an instance of T extends Object
.
The JSON data must be a JSON object or null, otherwise it will throw a JsonDecodingError.
Implementation
T decodeAsNullableObject<T>(JsonObjectNullableDecoder<T> decoder) {
return wrapJsonUtilOperation(() => _decodedValue.asObject(decoder));
}