Widget

data class Widget(id: Int, widgetType: WidgetType, content: String, style: WidgetStyle?, actionList: List<Action>)

Author

Umang Chamaria Date: 29/04/20

Constructors

Widget
Link copied to clipboard
fun Widget(id: Int, widgetType: WidgetType, content: String, style: WidgetStyle?, actionList: List<Action>)

Functions

component1
Link copied to clipboard
operator fun component1(): Int
component2
Link copied to clipboard
operator fun component2(): WidgetType
component3
Link copied to clipboard
operator fun component3(): String
component4
Link copied to clipboard
operator fun component4(): WidgetStyle?
component5
Link copied to clipboard
operator fun component5(): List<Action>
copy
Link copied to clipboard
fun copy(id: Int, widgetType: WidgetType, content: String, style: WidgetStyle?, actionList: List<Action>): Widget
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

actionList
Link copied to clipboard
val actionList: List<Action>
content
Link copied to clipboard
val content: String
id
Link copied to clipboard
val id: Int
style
Link copied to clipboard
val style: WidgetStyle?
widgetType
Link copied to clipboard
val widgetType: WidgetType