mapSelectionMode static method
Implementation
static mapSelectionMode(String? json) {
switch (json) {
case 'Multiple':
return SelectionMode.multiple;
case 'Pattern':
return SelectionMode.pattern;
case 'Node':
return SelectionMode.none;
default:
return SelectionMode.single;
}
}