Map<String, dynamic> toMap() { return <String, dynamic>{ 'targetReplicaCount': targetReplicaCount, 'targetShardCount': targetShardCount, }; }