Event constructor
Event({
- String? eventType,
- Any? payload,
- Timestamp? created,
- RuntimeUser? user,
- StringValue? handlerType,
- String? traceIdentifier,
- UUID? uniqueId,
- StringValue? oversizedPayloadName,
- ConfigurationScope? configurationScope,
- int? causalDepth,
Implementation
factory Event({
$core.String? eventType,
$0.Any? payload,
$1.Timestamp? created,
RuntimeUser? user,
$2.StringValue? handlerType,
$core.String? traceIdentifier,
$3.UUID? uniqueId,
$2.StringValue? oversizedPayloadName,
$4.ConfigurationScope? configurationScope,
$core.int? causalDepth,
}) {
final result = create();
if (eventType != null) result.eventType = eventType;
if (payload != null) result.payload = payload;
if (created != null) result.created = created;
if (user != null) result.user = user;
if (handlerType != null) result.handlerType = handlerType;
if (traceIdentifier != null) result.traceIdentifier = traceIdentifier;
if (uniqueId != null) result.uniqueId = uniqueId;
if (oversizedPayloadName != null)
result.oversizedPayloadName = oversizedPayloadName;
if (configurationScope != null)
result.configurationScope = configurationScope;
if (causalDepth != null) result.causalDepth = causalDepth;
return result;
}