copyWith method
Data
copyWith(
{ - JsonMap? notifier,
- String? environment,
- Client? client,
- String? platform,
- String? language,
- String? framework,
- String? codeVersion,
- Level? level,
- DateTime? timestamp,
- Body? body,
- User? user,
- JsonMap? custom,
- JsonMap? platformPayload,
- JsonMap? server,
})
Implementation
Data copyWith({
JsonMap? notifier,
String? environment,
Client? client,
String? platform,
String? language,
String? framework,
String? codeVersion,
Level? level,
DateTime? timestamp,
Body? body,
User? user,
JsonMap? custom,
JsonMap? platformPayload,
JsonMap? server,
}) =>
Data(
notifier: notifier ?? this.notifier,
environment: environment ?? this.environment,
client: client ?? this.client,
platform: platform ?? this.platform,
language: language ?? this.language,
framework: framework ?? this.framework,
codeVersion: codeVersion ?? this.codeVersion,
level: level ?? this.level,
timestamp: timestamp ?? this.timestamp,
body: body ?? this.body,
user: user ?? this.user,
custom: custom ?? this.custom,
platformPayload: platformPayload ?? this.platformPayload,
server: server ?? this.server,
);