toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (consentList != null) 'consentList': consentList!,
if (dataId != null) 'dataId': dataId!,
if (requestAttributes != null) 'requestAttributes': requestAttributes!,
if (responseView != null) 'responseView': responseView!,
};