nameOf static method

String? nameOf(
  1. FrameType value
)

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;
}