ChildShard.fromJson constructor
Implementation
factory ChildShard.fromJson(Map<String, dynamic> json) {
return ChildShard(
hashKeyRange:
HashKeyRange.fromJson(json['HashKeyRange'] as Map<String, dynamic>),
parentShards: (json['ParentShards'] as List)
.whereNotNull()
.map((e) => e as String)
.toList(),
shardId: json['ShardId'] as String,
);
}