toInteractionMode method

InteractionMode toInteractionMode()

Implementation

InteractionMode toInteractionMode() {
  switch (this) {
    case 'INTERACTIVE':
      return InteractionMode.interactive;
    case 'NO_VIDEO':
      return InteractionMode.noVideo;
    case 'VIDEO_ONLY':
      return InteractionMode.videoOnly;
  }
  throw Exception('$this is not known in enum InteractionMode');
}