getDeviceInfo method

Future<Map<String, dynamic>> getDeviceInfo()

Implementation

Future<Map<String, dynamic>> getDeviceInfo() async {
  final res = await _channel.invokeMethod<Map>('$_name/getDeviceInfo') ?? {};
  return Map<String, dynamic>.from(res);
}