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