copyWith method

HistoryMetadataParticipant copyWith({
  1. String? avatarUrl,
  2. String? displayName,
  3. String? displayNameKey,
  4. String? id,
  5. String? type,
  6. String? url,
})

Implementation

HistoryMetadataParticipant copyWith(
    {String? avatarUrl,
    String? displayName,
    String? displayNameKey,
    String? id,
    String? type,
    String? url}) {
  return HistoryMetadataParticipant(
    avatarUrl: avatarUrl ?? this.avatarUrl,
    displayName: displayName ?? this.displayName,
    displayNameKey: displayNameKey ?? this.displayNameKey,
    id: id ?? this.id,
    type: type ?? this.type,
    url: url ?? this.url,
  );
}