toString method
Returns a readable string containing all display fields.
Implementation
@override
String toString() {
return 'DisplayInfo('
'widthPixels: $widthPixels, '
'heightPixels: $heightPixels, '
'density: $density, '
'densityDpi: $densityDpi, '
'refreshRate: $refreshRate, '
'supportedRefreshRates: $supportedRefreshRates, '
'isHdrSupported: $isHdrSupported, '
'supportedHdrTypes: $supportedHdrTypes'
')';
}