toFieldNameString method

FieldNameString toFieldNameString()

Implementation

FieldNameString toFieldNameString() {
  switch (this) {
    case 'RESOURCE_ARN':
      return FieldNameString.resourceArn;
    case 'ROLE_ARN':
      return FieldNameString.roleArn;
    case 'LAST_MODIFIED':
      return FieldNameString.lastModified;
  }
  throw Exception('$this is not known in enum FieldNameString');
}