makeChannelName function

String makeChannelName(
  1. Api api,
  2. Method func,
  3. String dartPackageName
)

Create the generated channel name for a func on a api.

Implementation

String makeChannelName(Api api, Method func, String dartPackageName) {
  return 'dev.flutter.pigeon.$dartPackageName.${api.name}.${func.name}';
}