mapToOneOrNull

fun <T : Any> Flow<Query<T>>.mapToOneOrNull(context: CoroutineContext): Flow<T?>