toJson method

Map<String, dynamic> toJson()

Implementation

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