copyWith method
HistoryMetadata
copyWith({
- String? activityDescription,
- String? activityDescriptionKey,
- HistoryMetadataParticipant? actor,
- HistoryMetadataParticipant? cause,
- String? description,
- String? descriptionKey,
- String? emailDescription,
- String? emailDescriptionKey,
- Map<
String, dynamic> ? extraData, - HistoryMetadataParticipant? generator,
- String? type,
Implementation
HistoryMetadata copyWith(
{String? activityDescription,
String? activityDescriptionKey,
HistoryMetadataParticipant? actor,
HistoryMetadataParticipant? cause,
String? description,
String? descriptionKey,
String? emailDescription,
String? emailDescriptionKey,
Map<String, dynamic>? extraData,
HistoryMetadataParticipant? generator,
String? type}) {
return HistoryMetadata(
activityDescription: activityDescription ?? this.activityDescription,
activityDescriptionKey:
activityDescriptionKey ?? this.activityDescriptionKey,
actor: actor ?? this.actor,
cause: cause ?? this.cause,
description: description ?? this.description,
descriptionKey: descriptionKey ?? this.descriptionKey,
emailDescription: emailDescription ?? this.emailDescription,
emailDescriptionKey: emailDescriptionKey ?? this.emailDescriptionKey,
extraData: extraData ?? this.extraData,
generator: generator ?? this.generator,
type: type ?? this.type,
);
}