fromMap property

Map<String, SSEResultState> fromMap
getter/setter pair

Implementation

static Map<String, SSEResultState> fromMap = {
  'ack': SSEResultState.ack,
  'bye': SSEResultState.bye,
  'failure': SSEResultState.failure,
  'features': SSEResultState.features,
  'feature': SSEResultState.feature,
  'delete_feature': SSEResultState.deleteFeature,
  'config': SSEResultState.config,
  'error': SSEResultState.error
};