isPhysicalDevice method
Returns true if running on a physical device, false if running on an emulator (Android only).
Implementation
@override
Future<bool?> isPhysicalDevice() async {
final isPhysicalDevice = await methodChannel.invokeMethod<bool>(
'isPhysicalDevice',
);
return isPhysicalDevice;
}