Variant

data class Variant(val name: String, val fields: List<RPC_MOVE_ENUM_FIELDS.Field>?)

Constructors

Link copied to clipboard
constructor(name: String, fields: List<RPC_MOVE_ENUM_FIELDS.Field>?)

Properties

Link copied to clipboard

The names and types of the variant's fields. Field types reference type parameters, by their index in the defining enum's typeParameters list.

Link copied to clipboard

The name of the variant