toValue method
Implementation
String toValue() {
switch (this) {
case LagState.requested:
return 'requested';
case LagState.pending:
return 'pending';
case LagState.available:
return 'available';
case LagState.down:
return 'down';
case LagState.deleting:
return 'deleting';
case LagState.deleted:
return 'deleted';
case LagState.unknown:
return 'unknown';
}
}