toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'securityState': securityState.toJson(),
'securityStateIssueIds': [...securityStateIssueIds],
if (certificateSecurityState != null)
'certificateSecurityState': certificateSecurityState!.toJson(),
if (safetyTipInfo != null) 'safetyTipInfo': safetyTipInfo!.toJson(),
};
}