DataSetConfiguration.fromJson constructor

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

Implementation

factory DataSetConfiguration.fromJson(Map<String, dynamic> json) {
  return DataSetConfiguration(
    columnGroupSchemaList: (json['ColumnGroupSchemaList'] as List?)
        ?.whereNotNull()
        .map((e) => ColumnGroupSchema.fromJson(e as Map<String, dynamic>))
        .toList(),
    dataSetSchema: json['DataSetSchema'] != null
        ? DataSetSchema.fromJson(
            json['DataSetSchema'] as Map<String, dynamic>)
        : null,
    placeholder: json['Placeholder'] as String?,
  );
}