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, '
'widthPoints: $widthPoints, '
'heightPoints: $heightPoints, '
'nativeScale: $nativeScale, '
'nativeWidthPixels: $nativeWidthPixels, '
'nativeHeightPixels: $nativeHeightPixels, '
'brightness: $brightness, '
'isIosNative: $isIosNative'
')';
}