1. override
String toString()

Returns a string representation of this object.

Source

@override
String toString() {
  return 'MergeableMaterial('
    'key: $key, mainAxis: $mainAxis, elevation: $elevation'
  ')';
}