SetContact constructor

SetContact({
  1. SetEmail? email,
  2. SetPhone? phone,
})

Implementation

factory SetContact({
  SetEmail? email,
  SetPhone? phone,
}) {
  final result = create();
  if (email != null) result.email = email;
  if (phone != null) result.phone = phone;
  return result;
}