startMoment abstract method

void startMoment(
  1. String name, {
  2. String? identifier,
  3. Map<String, String>? properties,
})

Starts a moment.

Moments are used for encapsulating particular activities within the app, such as the user adding an item to their shopping cart. The length of time a moment takes to execute is recorded.

Implementation

void startMoment(
  String name, {
  String? identifier,
  Map<String, String>? properties,
});