| 416 | this.event(AnalyticsEvent.Command_CloneSdk, customData); |
| 417 | } |
| 418 | public logExtensionPromotion( |
| 419 | kind: AnalyticsEvent.ExtensionRecommendation_Shown | AnalyticsEvent.ExtensionRecommendation_Accepted | AnalyticsEvent.ExtensionRecommendation_Rejected, |
| 420 | extension: string, |
| 421 | ) { |
| 422 | const customData: Partial<AnalyticsData> = { |
| 423 | data: extension, |
| 424 | }; |
| 425 | this.event(kind, customData); |
| 426 | } |
| 427 | public logDevToolsOpened(commandSource: string | undefined) { this.event(AnalyticsEvent.DevTools_Opened, { commandSource }); } |
| 428 | public logFlutterDoctor(commandSource: string | undefined) { this.event(AnalyticsEvent.Command_FlutterDoctor, { commandSource }); } |
| 429 | public logFlutterNewProject(commandSource: string | undefined) { this.event(AnalyticsEvent.Command_FlutterNewProject, { commandSource }); } |