ModelOutputConfiguration.fromJson constructor
ModelOutputConfiguration.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ModelOutputConfiguration.fromJson(Map<String, dynamic> json) {
return ModelOutputConfiguration(
format: (json['format'] as String).toModelOutputDataFormat(),
csvIndexToVariableMap:
(json['csvIndexToVariableMap'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
jsonKeyToVariableMap:
(json['jsonKeyToVariableMap'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
);
}