1. override
String toString()

Override this method to include additional information in the debugging data printed by debugDumpRenderTree and friends.

By default, returns the runtimeType of the class.

Source

@override
String toString() => '$runtimeType';