Shard.fromJson constructor
Implementation
factory Shard.fromJson(Map<String, dynamic> json) {
return Shard(
parentShardId: json['ParentShardId'] as String?,
sequenceNumberRange: json['SequenceNumberRange'] != null
? SequenceNumberRange.fromJson(
json['SequenceNumberRange'] as Map<String, dynamic>)
: null,
shardId: json['ShardId'] as String?,
);
}