toJson method

Map<String, dynamic> toJson()

Implementation

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