updateMapSortation method

void updateMapSortation(
  1. String fieldName,
  2. ESortMode sortMode
)

Implementation

void updateMapSortation(String fieldName, ESortMode sortMode) {
  mapSortation.clear();
  mapSortation.addAll({fieldName: sortMode});
}