toContributorInsightsAction method

ContributorInsightsAction toContributorInsightsAction()

Implementation

ContributorInsightsAction toContributorInsightsAction() {
  switch (this) {
    case 'ENABLE':
      return ContributorInsightsAction.enable;
    case 'DISABLE':
      return ContributorInsightsAction.disable;
  }
  throw Exception('$this is not known in enum ContributorInsightsAction');
}