trackModelSwitch method
Track a model switch.
Implementation
void trackModelSwitch({
required String fromModel,
required String toModel,
String? reason,
}) {
track(
TelemetryEvent(
name: 'model_switch',
type: TelemetryEventType.modelSwitch,
properties: {'from': fromModel, 'to': toModel, 'reason': ?reason},
),
);
}