toValue method
Implementation
String toValue() {
switch (this) {
case SnapshotStatus.creating:
return 'Creating';
case SnapshotStatus.completed:
return 'Completed';
case SnapshotStatus.failed:
return 'Failed';
}
}
String toValue() {
switch (this) {
case SnapshotStatus.creating:
return 'Creating';
case SnapshotStatus.completed:
return 'Completed';
case SnapshotStatus.failed:
return 'Failed';
}
}