nameOf static method
Implementation
static String? nameOf(FrameType value) {
if (value == METHOD) return "METHOD";
if (value == HEADER) return "HEADER";
if (value == BODY) return "BODY";
if (value == HEARTBEAT) return "HEARTBEAT";
return null;
}