toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SnapshotType.auto:
      return 'Auto';
    case SnapshotType.manual:
      return 'Manual';
  }
}