toS3GranteeTypeIdentifier method

S3GranteeTypeIdentifier toS3GranteeTypeIdentifier()

Implementation

S3GranteeTypeIdentifier toS3GranteeTypeIdentifier() {
  switch (this) {
    case 'id':
      return S3GranteeTypeIdentifier.id;
    case 'emailAddress':
      return S3GranteeTypeIdentifier.emailAddress;
    case 'uri':
      return S3GranteeTypeIdentifier.uri;
  }
  throw Exception('$this is not known in enum S3GranteeTypeIdentifier');
}