delete method
Deletes key and its value from this map and
returns a new map without it.
Example:
final style = {'color': 'red', 'font-size': '10px'};
final withoutColor = style.delete('color');
// returns: {'font-size': '10px'}
Implementation
Map<String, String> delete(String key) {
final map = {...this};
map.remove(key);
return map;
}