Skip to content

Commit

Permalink
Reword dartdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasyishak committed Dec 4, 2023
1 parent 34a47f9 commit 2642d03
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions pkgs/unified_analytics/lib/src/event.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2642d03

Please sign in to comment.