From 2642d0300fcb0a4adf658350c9b5e7b4d81e71b4 Mon Sep 17 00:00:00 2001 From: eliasyishak <42216813+eliasyishak@users.noreply.github.com> Date: Mon, 4 Dec 2023 09:59:42 -0500 Subject: [PATCH] Reword dartdoc --- pkgs/unified_analytics/lib/src/event.dart | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/pkgs/unified_analytics/lib/src/event.dart b/pkgs/unified_analytics/lib/src/event.dart index 8c27d3f76..de288ce74 100644 --- a/pkgs/unified_analytics/lib/src/event.dart +++ b/pkgs/unified_analytics/lib/src/event.dart @@ -155,17 +155,14 @@ final class Event { 'name': name, }; - /// Event to capture previous custom dimension values from - /// legacy flutter analytics. - /// - /// The parameters below are a superset of all the implementations - /// of the `usageValues` getter in the `FlutterCommand` class within - /// the flutter-tool. There should never be a time where all of the parameters - /// are passed to this constructor. - /// - /// The custom dimensions from each implementation are grouped by sharing - /// the same prefix. The [workflow] indicates which implementation is being - /// sent, for example, "create". + /// Event to capture usage values for different flutter commands. + /// + /// There are several implementations of the `FlutterCommand` class within the + /// flutter-tool that pass information based on the [workflow] being ran. An + /// example of a [workflow] can be "create". The optional parameters for this + /// constructor are a superset of all the implementations of `FlutterCommand`. + /// There should never be a time where all of the parameters are passed to + /// this constructor. Event.commandUsageValues({ required String workflow, required bool commandHasTerminal,