getDeviceInfo static method

Future<Map<String, dynamic>?> getDeviceInfo({
  1. bool isTxPower = true,
})

Get comprehensive device information for the connected beacon.

  • isTxPower: Whether to include transmit power information

Returns a map containing all device parameters and configuration.

Implementation

static Future<Map<String, dynamic>?> getDeviceInfo({
  bool isTxPower = true,
}) async {
  final result = await _method.invokeMethod<Map<dynamic, dynamic>>(
    'getDeviceInfo',
    {'isTxPower': isTxPower},
  );
  return result?.cast<String, dynamic>();
}