copyWith method

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

Implementation

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