toSnapshotType method

SnapshotType toSnapshotType()

Implementation

SnapshotType toSnapshotType() {
  switch (this) {
    case 'Auto':
      return SnapshotType.auto;
    case 'Manual':
      return SnapshotType.manual;
  }
  throw Exception('$this is not known in enum SnapshotType');
}