DescribeTableStatisticsResponse.fromJson constructor

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

Implementation

factory DescribeTableStatisticsResponse.fromJson(Map<String, dynamic> json) {
  return DescribeTableStatisticsResponse(
    marker: json['Marker'] as String?,
    replicationTaskArn: json['ReplicationTaskArn'] as String?,
    tableStatistics: (json['TableStatistics'] as List?)
        ?.whereNotNull()
        .map((e) => TableStatistics.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}