InputDataConfig.fromJson constructor

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

Implementation

factory InputDataConfig.fromJson(Map<String, dynamic> json) {
  return InputDataConfig(
    datasetGroupArn: json['DatasetGroupArn'] as String,
    supplementaryFeatures: (json['SupplementaryFeatures'] as List?)
        ?.whereNotNull()
        .map((e) => SupplementaryFeature.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}