model.Payload.kt Maven / Gradle / Ivy
package com.github.fluidsonic.baku
class Payload private constructor(val rawValue: Any) { // TODO refactor
companion object {
val empty = Payload(Unit)
fun raw(value: Any) =
Payload(value)
}
}
package com.github.fluidsonic.baku
class Payload private constructor(val rawValue: Any) { // TODO refactor
companion object {
val empty = Payload(Unit)
fun raw(value: Any) =
Payload(value)
}
}