Skip to content

Commit

Permalink
timestamp --> doctorInvocationId
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasyishak committed Oct 17, 2023
1 parent 4179156 commit ded1068
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkgs/unified_analytics/lib/src/event.dart
Original file line number Diff line number Diff line change
Expand Up @@ -215,24 +215,24 @@ final class Event {
/// [partOfGroupedValidator] - `true` indicates that this validator belongs
/// to a grouped validator.
///
/// [timestamp] - epoch formatted timestamp that can be used in combination
/// with the client ID in GA4 to group the validators that ran in one
/// doctor invocation.
/// [doctorInvocationId] - epoch formatted timestamp that can be used in
/// combination with the client ID in GA4 to group the validators that
/// ran in one doctor invocation.
///
/// [statusInfo] - optional description of the result from the
/// doctor validator.
Event.doctorValidatorResult({
required String validatorName,
required String result,
required bool partOfGroupedValidator,
required int timestamp,
required int doctorInvocationId,
String? statusInfo,
}) : eventName = DashEvent.doctorValidatorResult,
eventData = {
'validatorName': validatorName,
'result': result,
'partOfGroupedValidator': partOfGroupedValidator,
'timestamp': timestamp,
'doctorInvocationId': doctorInvocationId,
if (statusInfo != null) 'statusInfo': statusInfo,
};

Expand Down

0 comments on commit ded1068

Please sign in to comment.