TrackingEvent constructor
TrackingEvent({
- String? type,
- StringValue? category,
- Timestamp? timestamp,
- UserId? userId,
- AccountId? accountId,
- Iterable<
TrackingData> ? data,
Implementation
factory TrackingEvent({
$core.String? type,
$0.StringValue? category,
$1.Timestamp? timestamp,
$2.UserId? userId,
$2.AccountId? accountId,
$core.Iterable<TrackingData>? data,
}) {
final result = create();
if (type != null) result.type = type;
if (category != null) result.category = category;
if (timestamp != null) result.timestamp = timestamp;
if (userId != null) result.userId = userId;
if (accountId != null) result.accountId = accountId;
if (data != null) result.data.addAll(data);
return result;
}