makeRemoveStrongReferenceChannelName function

String makeRemoveStrongReferenceChannelName(
  1. String dartPackageName
)

The channel name for the removeStrongReference method of the InstanceManager API.

This ensures the channel name is the same for all languages.

Implementation

String makeRemoveStrongReferenceChannelName(String dartPackageName) {
  return makeChannelNameWithStrings(
    apiName: '${classNamePrefix}InstanceManager',
    methodName: 'removeStrongReference',
    dartPackageName: dartPackageName,
  );
}