fromString static method
Implementation
static SipMethod? fromString(String? name) {
if (name != null) {
String cleanName = name.toUpperCase();
for (SipMethod method in SipMethod.values) {
if (getName(method) == cleanName) {
return method;
}
}
return null;
}
return null;
}