toSparseMap method

Map<String, Object> toSparseMap()
inherited

Returns a map with only non-null and non-empty fields

Implementation

Map<String, Object> toSparseMap() {
  return removeEmptyOrNullsFromMap(buildMap());
}