MapStringKeyExtension<T, V> extension

on

Methods

updateKeys(String newKey(String key)) Map<String, V>
Returns a new map with new keys default blank map if null. Example: final map= {'framework': "Flutter", 'Language': "Dart"}; final newMap= map.updateKeys((key) => key+"'s"); print(newMap); output: {framework's: Flutter, Language's: Dart}