toValue method
Implementation
String toValue() {
switch (this) {
case DiskSnapshotState.pending:
return 'pending';
case DiskSnapshotState.completed:
return 'completed';
case DiskSnapshotState.error:
return 'error';
case DiskSnapshotState.unknown:
return 'unknown';
}
}