get

operator fun <T> get(field: StateField<T>): T

Retrieve the value of a state field using index syntax.