GetColumnStatisticsForTableResponse.fromJson constructor

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

Implementation

factory GetColumnStatisticsForTableResponse.fromJson(
    Map<String, dynamic> json) {
  return GetColumnStatisticsForTableResponse(
    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(),
  );
}