BatchParameters.fromJson constructor

BatchParameters.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory BatchParameters.fromJson(Map<String, dynamic> json) {
  return BatchParameters(
    jobDefinition: json['JobDefinition'] as String,
    jobName: json['JobName'] as String,
    arrayProperties: json['ArrayProperties'] != null
        ? BatchArrayProperties.fromJson(
            json['ArrayProperties'] as Map<String, dynamic>)
        : null,
    retryStrategy: json['RetryStrategy'] != null
        ? BatchRetryStrategy.fromJson(
            json['RetryStrategy'] as Map<String, dynamic>)
        : null,
  );
}