Step.fromJson constructor
Implementation
factory Step.fromJson(Map<String, dynamic> json) {
return Step(
actionOnFailure:
(json['ActionOnFailure'] as String?)?.toActionOnFailure(),
config: json['Config'] != null
? HadoopStepConfig.fromJson(json['Config'] as Map<String, dynamic>)
: null,
id: json['Id'] as String?,
name: json['Name'] as String?,
status: json['Status'] != null
? StepStatus.fromJson(json['Status'] as Map<String, dynamic>)
: null,
);
}