HadoopJarStepConfig.fromJson constructor
Implementation
factory HadoopJarStepConfig.fromJson(Map<String, dynamic> json) {
return HadoopJarStepConfig(
jar: json['Jar'] as String,
args: (json['Args'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
mainClass: json['MainClass'] as String?,
properties: (json['Properties'] as List?)
?.whereNotNull()
.map((e) => KeyValue.fromJson(e as Map<String, dynamic>))
.toList(),
);
}