getPropKey method

  1. @Deprecated('4.0.0')
String? getPropKey(
  1. void accessProp(
    1. TProps props
    )
)

Returns the string key of the factory prop accessed in accessProp, including the namespace if one exists.

DEPRECATED: This method had to be deprecated and replaced with keyForProp because of the way that shadowing works in Dart when a top-level function name matches the name of an instance method.

Implementation

@Deprecated('4.0.0')
String? getPropKey(void Function(TProps props) accessProp) => keyForProp(accessProp);