ribesg
08/27/2019, 2:35 PMMap<String, String?>
for a parameter requiring type Map<Any?, *>
?Big Chungus
08/27/2019, 2:35 PMBig Chungus
08/27/2019, 2:36 PMribesg
08/27/2019, 2:36 PMMap<String?, String?>
eitherBig Chungus
08/27/2019, 2:36 PMBig Chungus
08/27/2019, 2:37 PMMap<out Any?, *>
ribesg
08/27/2019, 2:37 PMBig Chungus
08/27/2019, 2:37 PMBig Chungus
08/27/2019, 2:37 PMribesg
08/27/2019, 2:37 PMribesg
08/27/2019, 2:38 PM@kotlinx.cinterop.ObjCMethod public open external fun setMetadata(metadata: kotlin.collections.Map<kotlin.Any?, *>): kotlin.Unit
Big Chungus
08/27/2019, 2:38 PMBig Chungus
08/27/2019, 2:38 PMthana
08/27/2019, 2:39 PMis
Any but List<String> !is
List<Any>ribesg
08/27/2019, 2:39 PMstreetsofboston
08/27/2019, 2:40 PMList<out T>
streetsofboston
08/27/2019, 2:41 PMMap<K, out V>
thana
08/27/2019, 2:42 PMstreetsofboston
08/27/2019, 2:43 PMkeys
and entries
properties, Map could have been `Map<in K, out V>`….)louiscad
08/28/2019, 8:21 AMMap<Any?, *>
, you would then be able to put anything in the map, be it mutable under the hood.