effectiveQuality property

GlassQuality get effectiveQuality

quality, with GlassQuality.auto settled for this platform.

Implementation

GlassQuality get effectiveQuality => switch (quality) {
  GlassQuality.auto =>
    kIsWeb || defaultTargetPlatform == TargetPlatform.android || defaultTargetPlatform == TargetPlatform.iOS
        ? GlassQuality.medium
        : GlassQuality.high,
  final other => other,
};