makeClearChannelName function

String makeClearChannelName(
  1. String dartPackageName
)

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

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

Implementation

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