toValue method
Implementation
String toValue() {
switch (this) {
case UpdateBehavior.log:
return 'LOG';
case UpdateBehavior.updateInDatabase:
return 'UPDATE_IN_DATABASE';
}
}
String toValue() {
switch (this) {
case UpdateBehavior.log:
return 'LOG';
case UpdateBehavior.updateInDatabase:
return 'UPDATE_IN_DATABASE';
}
}