GetColumnStatisticsForPartitionResponse.fromJson constructor

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

Implementation

factory GetColumnStatisticsForPartitionResponse.fromJson(
    Map<String, dynamic> json) {
  return GetColumnStatisticsForPartitionResponse(
    columnStatisticsList: (json['ColumnStatisticsList'] as List?)
        ?.whereNotNull()
        .map((e) => ColumnStatistics.fromJson(e as Map<String, dynamic>))
        .toList(),
    errors: (json['Errors'] as List?)
        ?.whereNotNull()
        .map((e) => ColumnError.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}