toJson method

Map<String, dynamic> toJson()

Implementation

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