toChannel

abstract fun toChannel(): Channel

Function that builds a channel based on data from StateFlows.