SelectionResult
Class
Common
class SelectionResult(
val selectedNodes: List<SemanticsNode>,
val customErrorOnNoMatch: String? = null,
)
Result of SemanticsSelector
projection.
Parameters
selectedNodes | The result nodes found. |
customErrorOnNoMatch | If the projection failed to map nodes due to wrong input (e.g. selector expected only 1 node but got multiple) it will provide a custom error exactly explaining what selection was performed and what nodes it received. |