Also, until you are are very experienced, use StateFlow only on 'simple value objects' not 'compound values'.
There are many 'seemingly obvious' operations on StateFlow that do not work as expected when using mutable compound values. a common one is using MutableList - which will not work as expected.
Think of the "State" in a StateFlow as a 'Value Object" -- never modify its contents -- instead you assign a new value