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