factory Contact({ Email? email, Phone? phone, }) { final $result = create(); if (email != null) { $result.email = email; } if (phone != null) { $result.phone = phone; } return $result; }