toString method

  1. @override
String toString ()
override

Returns a string representation of this object.

Implementation

@override
String toString() {
  final List<String> features = <String>[];
  if (accessibleNavigation)
    features.add('accessibleNavigation');
  if (invertColors)
    features.add('invertColors');
  if (disableAnimations)
    features.add('disableAnimations');
  if (boldText)
    features.add('boldText');
  if (reduceMotion)
    features.add('reduceMotion');
  if (highContrast)
    features.add('highContrast');
  return 'AccessibilityFeatures$features';
}