Contact.create constructor

Contact.create(
  1. {bool createEmptyName: true}
)

Create a new contact, with empty contact ID and display name.

By default an empty name is also created (as opposed to name being null), but that can be controlled with createEmptyName.

Implementation

Contact.create({bool createEmptyName = true})
    : this('', '', name: createEmptyName ? Name() : null);