write

fun <T> write(intent: <ERROR CLASS>, id: String, typeClass: KClass<*>, value: T?)