fieldNameToPropertyName method

  1. @override
String? fieldNameToPropertyName(
  1. String kind,
  2. String fieldName
)
override

Returns the name of the property corresponding to the kind kind and fieldName.

Implementation

@override
String? fieldNameToPropertyName(String kind, String fieldName) {
  var modelDescription = _kind2ModelDesc[kind];
  if (modelDescription == null) {
    throw ArgumentError('The kind "$kind" is unknown.');
  }
  return modelDescription.fieldNameToPropertyName(fieldName);
}