toReconnectEnum method

ReconnectEnum toReconnectEnum()

Implementation

ReconnectEnum toReconnectEnum() {
  switch (this) {
    case 'ENABLED':
      return ReconnectEnum.enabled;
    case 'DISABLED':
      return ReconnectEnum.disabled;
  }
  throw Exception('$this is not known in enum ReconnectEnum');
}