toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (targetReplicaCount != null)
'targetReplicaCount': targetReplicaCount!,
if (targetShardCount != null) 'targetShardCount': targetShardCount!,
};