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