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