toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SnapshotStatus.creating:
      return 'CREATING';
    case SnapshotStatus.ready:
      return 'READY';
    case SnapshotStatus.deleting:
      return 'DELETING';
    case SnapshotStatus.failed:
      return 'FAILED';
  }
}