/*
 * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details.
 */

package at.bitfire.synctools.mapping.tasks.builder

import android.content.Entity
import at.bitfire.synctools.storage.tasks.DmfsTasksContract.COLUMN_FLAGS
import net.fortuna.ical4j.model.component.VToDo

class SyncFlagsBuilder(
    private val flags: Int
) : DmfsTaskEntityBuilder {

    override fun build(from: VToDo, to: Entity) {
        to.entityValues.put(COLUMN_FLAGS, flags)
    }

}
