toJson method
Implementation
Map<String, dynamic> toJson() {
final completionCriteria = this.completionCriteria;
final securityConfig = this.securityConfig;
return {
if (completionCriteria != null) 'CompletionCriteria': completionCriteria,
if (securityConfig != null) 'SecurityConfig': securityConfig,
};
}