readNull method
Converts a null JSON value to type T
.
Implementation
T? readNull(dynamic value, TypeInfo type, JsonSerializerOptions options) {
if (value == null) {
return null;
}
return read(value, type, options);
}
Converts a null JSON value to type T
.
T? readNull(dynamic value, TypeInfo type, JsonSerializerOptions options) {
if (value == null) {
return null;
}
return read(value, type, options);
}