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