encodeDragStartBehavior static method
Encodes the given value
to the String representation. Supported values
are:
down
start
Implementation
static String? encodeDragStartBehavior(DragStartBehavior? value) {
String? result;
if (value != null) {
switch (value) {
case DragStartBehavior.down:
result = 'down';
break;
case DragStartBehavior.start:
result = 'start';
break;
}
}
return _stripDynamicNull(result);
}