mapState

fun <T1, R> StateFlow<T1>.mapState(transform: (a: T1) -> R): StateFlow<R>