Client.forContact constructor
Client.forContact({})
Create a client using contact details
Implementation
factory Client.forContact({
String firstName = '',
String lastName = '',
String email = '',
String phone = '',
}) {
return Client(contacts: [
ClientContact(
firstName: firstName,
lastName: lastName,
email: email,
phone: phone,
)
]);
}