core.Map<core.String, core.dynamic> toJson() => { if (maxPartitions != null) 'maxPartitions': maxPartitions!, if (partitionSizeBytes != null) 'partitionSizeBytes': partitionSizeBytes!, };