Immutable selection containing keys and matching records.
TxSelection
| Parameter | Type | Default | Meaning |
|---|---|---|---|
| keys | Iterable<Object> | required | Stable selection keys. |
| data | Iterable<T> | required | Records or event payload. |
import 'package:tecexpress/tecexpress.dart';
Future<void> example() async {
final selection = TxSelection<int>(keys: [1], data: [1]);
print(selection.keys);
}