createContact method
Creates a new contact
contact
- The contact to create
Returns the created contact with assigned ID
Implementation
Future<Result<Contact>> createContact(Contact contact) async {
_ensureInitialized();
return _createContactUseCase.call(
CreateContactParams(contact: contact),
);
}