ContactKeys.id constructor

ContactKeys.id(
  1. ContactMode mode,
  2. String identifier
)

Contact keys that is based on the logic PK for the mode

Implementation

factory ContactKeys.id(ContactMode mode, String identifier) {
  return ContactKeys(
      mode: mode,
      identifier: identifier,
      singleContactId: null,
      unifiedContactId: null,
      otherKeys: <String, String>{});
}