asMap method

Map asMap()

This function returns a map with the property and order values as key-value pairs.

Implementation

Map asMap() =>
    {'property': property, 'order': order.apiQuerySortingOrderAsString()};