makeChannelNameWithStrings function

String makeChannelNameWithStrings({
  1. required String apiName,
  2. required String methodName,
  3. required String dartPackageName,
})

Create the generated channel name for a method on an api.

Implementation

String makeChannelNameWithStrings({
  required String apiName,
  required String methodName,
  required String dartPackageName,
}) {
  return 'dev.flutter.pigeon.$dartPackageName.$apiName.$methodName';
}