$getPropKey method

  1. @toBeGenerated
  2. @visibleForOverriding
String $getPropKey(
  1. void accessMap(
    1. Map m
    )
)

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

@toBeGenerated
@visibleForOverriding
String $getPropKey(void Function(Map m) accessMap) => throw UngeneratedError(member: #$getPropKey);