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');
  return 'AccessibilityFeatures$features';
}