toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final jobDefinition = this.jobDefinition;
  final jobName = this.jobName;
  final arrayProperties = this.arrayProperties;
  final retryStrategy = this.retryStrategy;
  return {
    'JobDefinition': jobDefinition,
    'JobName': jobName,
    if (arrayProperties != null) 'ArrayProperties': arrayProperties,
    if (retryStrategy != null) 'RetryStrategy': retryStrategy,
  };
}