sortOrder property

SortOrder sortOrder

The order that should be applied.

SortOrder.ascending if an error occurs.

Implementation

SortOrder get sortOrder {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_OrderBy_getSortOrder(_handle, errorHandler);
  });
  return SortOrder._fromCoreValue(coreValue);
}
void sortOrder=(SortOrder value)

Implementation

set sortOrder(SortOrder value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_OrderBy_setSortOrder(
        _handle, value.coreValue, errorHandler);
  });
}