setDeviceName static method

Future<void> setDeviceName(
  1. String name
)

Set the device name for the connected beacon.

  • name: New name for the device

Implementation

static Future<void> setDeviceName(String name) =>
    _method.invokeMethod('setDeviceName', {'name': name});