chirag
val result: Map<String?,List<xyzClass>> = list.groupBy { it.nullableString }
Map<String?,List<xyzClass>>
Map<String,List<xyzClass>>