copyWith method

EventSystemProperties copyWith({
  1. String? appVersion,
  2. String? ipAddress,
  3. DeviceProperties? device,
  4. BrowserProperties? browser,
  5. OperatingSystemProperties? operatingSystem,
})

Creates a new instance of EventSystemProperties with the provided mutated properties

Implementation

EventSystemProperties copyWith({
  String? appVersion,
  String? ipAddress,
  DeviceProperties? device,
  BrowserProperties? browser,
  OperatingSystemProperties? operatingSystem,
}) {
  return EventSystemProperties(
    appVersion: appVersion ?? this.appVersion,
    ipAddress: ipAddress ?? this.ipAddress,
    device: device ?? this.device,
    browser: browser ?? this.browser,
    operatingSystem: operatingSystem ?? this.operatingSystem,
  );
}