compact method

Map compact([
  1. bool newMap = false
])

Remove all entries that value is null

newMap if true return a new map modifield

Implementation

Map compact([bool newMap = false]) => _compact(this, newMap);