FdcDataSetSelectionApi class final

Public row-selection facade for FdcDataSet.

Keeps row selection operations out of the dataset root API while preserving FdcDataSet as the single object owned by application code.

Properties

count int
Number of selected rows in the current dataset view.
no setter
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
Returns whether no rows are selected in the current dataset view.
no setter
isNotEmpty bool
Returns whether at least one row is selected in the current dataset view.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isSelectedAt(int rowIndex) bool
Returns whether the row at rowIndex is selected.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rows({bool includeNonPersistent = false}) List<Map<String, Object?>>
Maps selected rows from the current dataset view to immutable row values.
selectAll() → void
Selects every row in the current dataset view.
selectCurrent() → void
Selects the current dataset record.
setSelectedAt(int rowIndex, bool selected) → void
Sets the selection state of the row at rowIndex.
toggleAt(int rowIndex) bool
Toggles the selection state of the row at rowIndex.
toggleCurrent() bool
Toggles the current dataset record selection state.
toString() String
A string representation of this object.
inherited
unselectAll() → void
Clears selection for every row in the current dataset view.
unselectCurrent() → void
Clears selection on the current dataset record.

Operators

operator ==(Object other) bool
The equality operator.
inherited