fromID static method

Implementation

static ZegoSignalingPluginMultiCertificate fromID(int id) {
  switch (id) {
    case 0:
    case 1:
      return ZegoSignalingPluginMultiCertificate.firstCertificate;
    case 2:
      return ZegoSignalingPluginMultiCertificate.secondCertificate;
  }
  assert(false);
  return ZegoSignalingPluginMultiCertificate.firstCertificate;
}