toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'serialization': serialization,
if (maxDepth != null) 'maxDepth': maxDepth,
if (additionalParameters != null)
'additionalParameters': additionalParameters,
};
}