getPublishChannel static method

dynamic getPublishChannel(
  1. int? channel
)

Implementation

static getPublishChannel(int? channel) {
  if (channel != null) {
    return channel;
  }

  return 0;
}