kvision / pl.treksoft.kvision.types / KFile

KFile

data class KFile

A serializable class for a multiplatform File type.

Constructors

<init>

KFile(name: String, size: Int, content: String? = null)

A serializable class for a multiplatform File type.

Properties

content

val content: String?

name

val name: String

size

val size: Int

Extension Functions

createInstance

fun <T> Any?.createInstance(vararg args: dynamic): T

Helper function for creating JavaScript objects from dynamic constructors.