onQualityChanged property
Called on the main thread whenever the effective quality changes.
Receives (GlassQuality from, GlassQuality to). Use onDiagnostic for
richer context including P75/P95 timings and change reason.
Implementation
final void Function(GlassQuality from, GlassQuality to)? onQualityChanged;