getDeviceInfo method

  1. @override
Future<String?> getDeviceInfo({
  1. int? port,
  2. String? path,
})
override

Required Port & path for web platform

Implementation

@override
Future<String?> getDeviceInfo({int? port, String? path}) async {
  final result = await methodChannel.invokeMethod<String>('deviceInfo');
  return result;
}