getScreenDiagonalInInches method
Fetches the screen's diagonal size in inches.
Implementation
@override
Future<double?> getScreenDiagonalInInches() async {
final screenDiagonalInInches = await methodChannel
.invokeMethod<double>('getScreenDiagonalSizeInInches');
return screenDiagonalInInches;
}