copyWith method
Create a copy with the given fields replaced
Implementation
Participant copyWith({
String? id,
String? name,
Map<String, dynamic>? info,
}) {
return Participant(
id: id ?? this.id,
name: name ?? this.name,
info: info ?? this.info,
);
}