mapKeyName method Null safety

String mapKeyName(
  1. String propertyName
)

Implementation

String mapKeyName(String propertyName) {
  final property = properties[propertyName];
  return property?.responseKey?.name ?? property?.name ?? propertyName;
}