toInsightType method
Implementation
InsightType toInsightType() {
  switch (this) {
    case 'ApiCallRateInsight':
      return InsightType.apiCallRateInsight;
  }
  throw Exception('$this is not known in enum InsightType');
}
InsightType toInsightType() {
  switch (this) {
    case 'ApiCallRateInsight':
      return InsightType.apiCallRateInsight;
  }
  throw Exception('$this is not known in enum InsightType');
}