getDeviceInfo method

  1. @override
Future<String?> getDeviceInfo()
override

Implementation

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