toValue method
Implementation
String toValue() {
switch (this) {
case ConsistencyLevel.serializable:
return 'SERIALIZABLE';
case ConsistencyLevel.eventual:
return 'EVENTUAL';
}
}
String toValue() {
switch (this) {
case ConsistencyLevel.serializable:
return 'SERIALIZABLE';
case ConsistencyLevel.eventual:
return 'EVENTUAL';
}
}