getDeviceDpConfigs method

  1. @override
Future<List<Map<String, dynamic>>> getDeviceDpConfigs({
  1. required String deviceId,
})
override

Get the current configurations of set of DP codes on a device deviceId details is passed on to native getDeviceDpConfigs function of native is invoked

Implementation

@override
Future<List<Map<String, dynamic>>> getDeviceDpConfigs({
  required String deviceId,
}) async {
  final List<dynamic> result = await _channel.invokeMethod(
    'getDeviceDpConfigs',
    {'deviceId': deviceId},
  );
  return result.cast<Map>().map((e) => Map<String, dynamic>.from(e)).toList();
}