getDeviceInfo method
Implementation
@override
Future<String?> getDeviceInfo() async {
// Invoke the native method 'getDeviceInfo' and return the result.
final deviceInfo =
await methodChannel.invokeMethod<String>('getDeviceInfo');
return deviceInfo;
}