preferredContactKey static method

UserPrefKey preferredContactKey({
  1. required String contactId,
  2. required ContactableType type,
})

Implementation

static UserPrefKey preferredContactKey(
    {required String contactId, required ContactableType type}) {
  return UserPrefKey("sunnyPreferredContact$contactId${type.value}");
}