asStateFlow

fun asStateFlow(): StateFlow<T>