toStringDetails method Null safety

  1. @override
String toStringDetails()
override

Provides a string describing the status of this object, but not including information about the object itself.

This function is used by Animation.toString so that Animation subclasses can provide additional details while ensuring all Animation subclasses have a consistent toString style.

The result of this function includes an icon describing the status of this Animation object:

Implementation

@override
String toStringDetails() {
  return '${super.toStringDetails()} $value; paused';
}