getKey method

String? getKey(
  1. String name
)

Implementation

String? getKey(String name) {
  switch (name) {
    case _kunifiedContactId:
      return keys?.unifiedContactId;
    case _ksingleContactId:
      return keys?.singleContactId;
    case _kidentifier:
      return identifier;
    default:
      if (keys?.otherKeys == null) return null;
      return keys!.otherKeys[name];
  }
}