toMap property

Map<SSEResultState, String> toMap
getter/setter pair

Implementation

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