key property

K get key

Gets the key of the key-value pair.

Implementation

K get key {
  if (isSameType<K, Guid>()) return _key_Guid as K;
  if (isSameType<K, int>()) return _key_Uint32 as K;
  if (isSameType<K, PedometerStepKind>()) return keyAsPedometerStepKind as K;
  if (isSameType<K, String>()) return _key_String as K;

  return _key_Object;
}