toKey static method

String? toKey(
  1. String? source, [
  2. String? property
])

Implementation

static String? toKey(String? source, [String? property])
{
  if (source == null) return null;
  if (property == null) property = 'value';
  return (source + '.' + property).toLowerCase();
}