ListShardsOutput.fromJson constructor
Implementation
factory ListShardsOutput.fromJson(Map<String, dynamic> json) {
return ListShardsOutput(
nextToken: json['NextToken'] as String?,
shards: (json['Shards'] as List?)
?.whereNotNull()
.map((e) => Shard.fromJson(e as Map<String, dynamic>))
.toList(),
);
}