getName static method

String getName(
  1. SipMethod? method
)

Implementation

static String getName(SipMethod? method) {
  int period = method.toString().indexOf('.');
  return method.toString().substring(period + 1);
}