resolution property

set resolution (int videoResolution)

Implementation

set resolution(int videoResolution) {
  assert(
      videoResolution == FeatureFlagVideoResolution.LD_RESOLUTION ||
          videoResolution == FeatureFlagVideoResolution.MD_RESOLUTION ||
          videoResolution == FeatureFlagVideoResolution.SD_RESOLUTION ||
          videoResolution == FeatureFlagVideoResolution.HD_RESOLUTION,
      """Use FeatureFlagVideoResolution.LD_RESOLUTION for 180p\n
      Use FeatureFlagVideoResolution.MD_RESOLUTION for 360p\n
      Use FeatureFlagVideoResolution.SD_RESOLUTION for 480p\n
      Use FeatureFlagVideoResolution.HD_RESOLUTION for 720p""");
  _resolution = videoResolution;
}