toProjectionType method

ProjectionType toProjectionType()

Implementation

ProjectionType toProjectionType() {
  switch (this) {
    case 'ALL':
      return ProjectionType.all;
    case 'KEYS_ONLY':
      return ProjectionType.keysOnly;
    case 'INCLUDE':
      return ProjectionType.include;
  }
  throw Exception('$this is not known in enum ProjectionType');
}