KFile

data class KFile(name: String, size: Int, content: String?)

A serializable class for a multiplatform File type.

Constructors

KFile
Link copied to clipboard
common
fun KFile(name: String, size: Int, content: String? = null)

Functions

component1
Link copied to clipboard
common
operator fun component1(): String
component2
Link copied to clipboard
common
operator fun component2(): Int
component3
Link copied to clipboard
common
operator fun component3(): String?
copy
Link copied to clipboard
common
fun copy(name: String, size: Int, content: String? = null): KFile
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

content
Link copied to clipboard
common
val content: String? = null
name
Link copied to clipboard
common
val name: String
size
Link copied to clipboard
common
val size: Int