
enum ProtocolType {
  USER,
  VIP
}

class Protocols {
  static Map<ProtocolType, String> protocols = {
    ProtocolType.USER : 'Here is user protocol',
    ProtocolType.VIP: 'Welcome ! Here is VIP protocol',
  };

  static String getType(ProtocolType type) => protocols[type];
}