Skip to content

Add the DashTool owner in the dartdocs for each for the event constructors #212

@eliasyishak

Description

@eliasyishak

We should have some information in the dartdoc so that it is easy to tell which DashTool is the "owner" of that event.

For example, you would have to dig through the code to understand who the owner is between Event.commandExecuted and Event.commandUsageValues

  /// An event that reports when the code size measurement is run
  /// via `--analyze-size`.
  ///
  /// Tool owner: flutter-tool   <---- add this
  ///
  /// [platform] - string identifier for which platform was run "ios", "apk",
  ///   "aab", etc.
  Event.codeSizeAnalysis({required String platform})
      : eventName = DashEvent.codeSizeAnalysis,
        eventData = {
          'platform': platform,
        };

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions