$getPropKey method

  1. @override
String $getPropKey(
  1. void accessMap(
    1. Map m
    )
)
override

The base implementation for UiPropsSelfTypedExtension.getPropKey, which wraps this with better generic typing, since we can't generically express the type of the current class in this declaration.

UiPropsSelfTypedExtension.getPropKey and thus this method are necessary to be able to implement utility methods for safely accessing props, such as UiPropsSelfTypedExtension.getRequiredProp.

Implementation

@override
String $getPropKey(void Function(Map m) accessMap) => _getPropKey(accessMap, selfFactory);