copyWith method

GroupContactsModel copyWith({
  1. AtContact? contact,
  2. AtGroup? group,
  3. ContactsType? contactType,
})

Implementation

GroupContactsModel copyWith({
  AtContact? contact,
  AtGroup? group,
  ContactsType? contactType,
}) {
  return GroupContactsModel(
    contact: contact ?? this.contact,
    group: group ?? this.group,
    contactType: contactType ?? this.contactType,
  );
}