copyWith method
Contact
copyWith(
{ - String? firstName,
- String? lastName,
- String? email,
- String? phone,
- String? address,
- String? icon,
- String? id,
- String? $id,
- int? cstamp,
- String? cby,
- String? uby,
- int? ustamp,
})
Implementation
Contact copyWith(
{String? firstName,
String? lastName,
String? email,
String? phone,
String? address,
String? icon,
String? id,
String? $id,
int? cstamp,
String? cby,
String? uby,
int? ustamp}) {
return Contact(
firstName: firstName ?? this.firstName,
lastName: lastName ?? this.lastName,
email: email ?? this.email,
phone: phone ?? this.phone,
address: address ?? this.address,
icon: icon ?? this.icon,
id: id ?? this.id,
$id: $id ?? this.$id,
cstamp: cstamp ?? this.cstamp,
cby: cby ?? this.cby,
uby: uby ?? this.uby,
ustamp: ustamp ?? this.ustamp);
}