copyWith method
Implementation
OnceEventV3Body copyWith(
{int? id,
DateTime? timestamp,
OnceEventType? eventType,
OnceEventSeverity? eventSeverity,
OnceEventSource? eventSource,
OnceOrganisation? organisation,
bool? alert,
String? description,
OnceSim? sim}) {
return OnceEventV3Body(
id: id ?? this.id,
timestamp: timestamp ?? this.timestamp,
eventType: eventType ?? this.eventType,
eventSeverity: eventSeverity ?? this.eventSeverity,
eventSource: eventSource ?? this.eventSource,
organisation: organisation ?? this.organisation,
alert: alert ?? this.alert,
description: description ?? this.description,
sim: sim ?? this.sim);
}