setPreferredQuality method

void setPreferredQuality(
  1. VideoQuality quality
)

Set the preferred quality.

Implementation

void setPreferredQuality(VideoQuality quality) async {
  setPreference<int>(key: 'preferred_quality', value: quality.index);
}